-
-
Notifications
You must be signed in to change notification settings - Fork 3
USTAR.TarWriter.AppendEntry
Andrew Lambert edited this page Nov 26, 2022
·
3 revisions
Function AppendEntry(Entry As FolderItem, Optional RelativeRoot As FolderItem) As String
Sub AppendEntry(Path As String, Data As MemoryBlock, ModifyDate As Date = Nil)
Sub AppendEntry(Path As String, Data As Readable, Length As UInt32, ModifyDate As Date = Nil, Mode As Permissions = Nil)
Name | Type | Comment |
---|---|---|
Entry | FolderItem | A file or directory to append to the archive. |
RelativeRoot | FolderItem | Optional. The root directory of the archive. |
Name | Type | Comment |
---|---|---|
Path | String | The archive path of the entry. |
Data | MemoryBlock | The file data. |
ModifyDate | Date | Optional. The modification date of the entry. |
Name | Type | Comment |
---|---|---|
Path | String | The archive path of the entry. |
Data | Readable | The stream to read file data from. |
Length | UInt32 | The number of bytes to read from Data . |
ModifyDate | Date | Optional. The modification date of the entry. |
Mode | Permissions | Optional. The Unix-style file permissions of the entry. |
When given a FolderItem
to append, this method returns the path of the item within the archive.
Appends a file or directory to the archive.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.