TTarWriter.AddDir procedure
Add directory to archive.
Declaration
procedure AddDir(Dirname: AnsiString; DateGmt: TDateTime;
MaxDirSize: Int64=0)Arguments
Dirname | Directory name to add. |
DateGmt | Directory timestamp. |
MaxDirSize | Max directory size. |
Description
AddDir adds a directory entry to the archive. The entry is
written with name
DirName, maximum directory size
MaxDirSize (0 means unlimited) and timestamp
DateGmt.
Note that this call only adds an entry for a directory to the archive:
if DirName is an existing directory, it does not write all
files in the directory to the archive.
The directory entry is written with the current owner data and permissions.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
