FileArchiveEntry

File based implementation of ArchiveCreateEntry. Used to create archives from files in the file system.

Constructors

this
this(string filePath, string pathInArchive)
Undocumented in source.

Members

Functions

byChunk
ByteRange byChunk(size_t chunkSize)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

attributes
uint attributes [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
groupId
int groupId [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
linkname
string linkname [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
mode
EntryMode mode [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ownerId
int ownerId [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
path
string path [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
ulong size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
timeLastModified
SysTime timeLastModified [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
type
EntryType type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

filePath
string filePath;
Undocumented in source.
pathInArchive
string pathInArchive;
Undocumented in source.
statFetched
bool statFetched;
Undocumented in source.
statStruct
stat_t statStruct;
Undocumented in source.

Inherited Members

From ArchiveCreateEntry

byChunk
ByteRange byChunk(size_t chunkSize)

A byte range to the content of the entry. Only relevant for regular files. Other types of entry will return an empty range.

readContent
ubyte[] readContent()

Helper function that read the complete data of the entry (using byChunk).

Meta