[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Add string as file data
Source position: libtar.pp line 200
public procedure TTarWriter.AddString( |
Contents: Ansistring; |
TarFilename: AnsiString; |
FileDateGmt: TDateTime |
); |
Contents |
|
Data for file entry |
TarFilename |
|
Name for filename |
FileDateGmt |
|
Timestamp for filename. |
AddString adds the string Contents as the data of an entry with file name TarFileName. This name should contain only forward slash path separators. The entry will be written with timestamp FileDateGmt.
The archive 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 directory to archive |
|
|
Add volume header entry |