A byte range to the content of the entry. Only relevant for regular files. Other types of entry will return an empty range.
Helper function that read the complete data of the entry (using byChunk).
Tell whether the entry is used for creation (ArchiveCreateEntry) or extraction (ArchiveExtractEntry)
The archive mode this entry is for. The path of the entry within the archive. Should always be a relative path, and never go backward (..)
The type of entry (directory, file, symlink)
If symlink, this is the path pointed to by the link (relative to the symlink). For directories and regular file, returns null.
The size of the entry in bytes (returns zero for directories and symlink) This is the size of uncompressed, extracted data.
The timeLastModified of the entry
The file attributes (as returned std.file.getLinkAttributes)
The owner id of the entry
The group id of the entry
Check if the entry is a potential bomb. A bomb is typically an entry that may overwrite other files outside of the extraction directory. isBomb will return true if the path is an absolute path or a relative path going backwards (containing '..' after normalization). In addition, a criteria of maximum allowed size can be provided (by default all sizes are accepted).
Interface of ArchiveEntry used to create archives