[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'libtar' (#fcl)

# TTarDirRec

Tar Directory entry

## Declaration

Source position: libtar.pp line 138

`type TTarDirRec = record`
`Name: AnsiString;` |  | File name
`Size: Int64;` |  | File size
`DateTime: TDateTime;` |  | File time stamp
`Permissions: TTarPermissions;` |  | File permissions
`FileType: TFileType;` |  | File type
`LinkName: AnsiString;` |  | Symbolic link target name
`UID: Integer;` |  | Owner user ID
`GID: Integer;` |  | Owner group ID
`UserName: AnsiString;` |  | Owner username
`GroupName: AnsiString;` |  | Owner group name
`ChecksumOK: Boolean;` |  | Checksum OK ?
`Mode: TTarModes;` |  | Extra file mode bits
`Magic: AnsiString;` |  | ?
`MajorDevNo: Integer;` |  | Major device number
`MinorDevNo: Integer;` |  | Minor device number
`FilePos: Int64;` |  | Start position of file in archive
`end;`

## Description

TTarDirRec describes an entry in the tar archive. It is similar to a directory entry as in TSearchRec, and is returned by the TTarArchive.FindNext call.

## See also

TTarArchive.FindNext |  | Find next archive entry

The latest version of this document can be found at lazarus-ccr.sourceforge.net .