[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Add directory to archive
Source position: libtar.pp line 201
public procedure TTarWriter.AddDir( |
Dirname: AnsiString; |
DateGmt: TDateTime; |
MaxDirSize: Int64 = 0 |
); |
Dirname |
|
Directory name to add |
DateGmt |
|
Directory timestamp |
MaxDirSize |
|
Max directory size |
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.
|
Add a file to the archive |
|
|
Add stream contents to archive. |
|
|
Add hard link to archive |
|
|
Add a symbolic link to the archive |
|
|
Add string as file data |
|
|
Add volume header entry |