Struct cab::FileEntry [−][src]
pub struct FileEntry { /* fields omitted */ }
Expand description
Metadata about one file stored in a cabinet.
Implementations
Returns the datetime for this file. According to the CAB spec, this “is typically considered the ‘last modified’ time in local time, but the actual definition is application-defined.”
Note that this will return None
if the datetime in the cabinet file
was not a valid date/time.
Returns the total size of the file when decompressed, in bytes.
Returns true if this file has the “read-only” attribute set.
Returns true if this file has the “hidden” attribute set.
Returns true if this file has the “archive” (modified since last backup) attribute set.
Returns true if this file has the “execute after extraction” attribute set.
Returns true if this file has the “name is UTF” attribute set.