dreamworkAPI
Ctrl K
GitHub
typeDocs / Tar / File

Tar.File

typesharedmenusource

The entry of the tar archive.

content is nil for entries of a parsed archive until it is read with Tar:readFile, the data stays in the archive string at offset.

Fields

NameTypeDescription
pathstringThe path of the entry inside of the archive, e.g. docs/readme.txt, directories end with /.
typeTar.FileTypeThe type of the entry.
sizeintegerThe size of the content in bytes.
modeintegerThe permission bits, e.g. 420 (0644).
uidintegerThe user ID of the owner.
gidintegerThe group ID of the owner.
timestampintegerThe Unix timestamp of the last modification in seconds.
userstringThe user name of the owner.
groupstringThe group name of the owner.
contentstring | nilThe content, nil if it is still in the archive data.
offsetinteger | nilThe 1-based position of the content in the archive data.
Generated from the dreamwork meta branch.