TTarWriter.AddSymbolicLink¶
Add a symbolic link to the archive.
Declaration¶
Source position: libtar.pp line 225
public
procedure TTarWriter.AddSymbolicLink(Filename: AnsiString;
Linkname: AnsiString;
DateGmt: TDateTime);
Description¶
AddSymbolicLink adds a symbolic link entry to the archive, with name FileName, pointing to LinkName. The entry is written with timestamp DateGmt.
The link entry is written with the current owner data and permissions.
See also¶
| Name | Description |
|---|---|
| TTarWriter.AddFile | Add a file to the archive. |
| TTarWriter.AddStream | Add stream contents to archive. |
| TTarWriter.AddLink | Add hard link to archive. |
| TTarWriter.AddDir | Add directory to archive. |
| TTarWriter.AddString | Add string as file data. |
| TTarWriter.AddVolumeHeader | Add volume header entry. |