Skip to content

TTarDirRec

Tar Directory entry.

Declaration

Source position: libtar.pp line 154

type
  TTarDirRec = record
    Name: AnsiString;
    Size: Int64;
    DateTime: TDateTime;
    Permissions: TTarPermissions = Set of TTarPermission = (tpReadByOwner,tpWriteByOwner,tpExecuteByOwner,
                  tpReadByGroup,tpWriteByGroup,tpExecuteByGroup,
                  tpReadByOther,tpWriteByOther,tpExecuteByOther);
    FileType: TFileType = (ftNormal,ftLink,ftSymbolicLink,ftCharacter,ftBlock,
             ftDirectory,ftFifo,ftContiguous,ftDumpDir,ftMultiVolume,
             ftVolumeHeader);
    LinkName: AnsiString;
    UID: Integer;
    GID: Integer;
    UserName: AnsiString;
    GroupName: AnsiString;
    ChecksumOK: Boolean;
    Mode: TTarModes = Set of TTarMode = (tmSetUid,tmSetGid,tmSaveText);
    Magic: AnsiString;
    MajorDevNo: Integer;
    MinorDevNo: Integer;
    FilePos: Int64;
  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

Name Description
TTarArchive.FindNext Find next archive entry.