Sign in Join
FPDoc Onlineexperiment

LibTar unit

tar archive manipulation classes.

The libtar units provides 2 classes to read and write .tar archives: TTarArchive class can be used to read a tar file, and the TTarWriter class can be used to write a tar file. The unit was implemented originally by Stefan Heymann.

Classes and records

TTarArchiveclassClass to examine and read tar archives.
TTarDirRecrecordTar Directory entry.
TTarWriterclassClass to write tar archives.

Procedures and functions

ClearDirRecprocedureInitialize tar archive entry.
ConvertFilenamefunctionConvert filename to archive format.
FileTimeGMTfunctionExtract filetime.
PermissionStringfunctionConvert a set of permissions to a string.

Types

TFileTypeenumerationFile type.
TTarModeenumerationTar mode.
TTarModessetFull set of modes.
TTarPermissionenumerationFile permissions.
TTarPermissionssetComplete set of permissions for file.

Constants

ALL_PERMISSIONSconstantSet with all permissions.
EXECUTE_PERMISSIONSconstantSet with all execute permissions.
FILETYPE_NAMEconstantNames of filetypes.
READ_PERMISSIONSconstantSet with all read permissions.
WRITE_PERMISSIONSconstantSet with all write permissions.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.