The metadata of an entry.
path is the archive path, as written, with / separators; directory paths
end with /. size is the uncompressed byte length when it is known before
the body: decoded entries whose sizes follow their data have none. mode holds
Unix permission bits, written to the central directory, which decode does not
read. mtime has a resolution of one second with an extended timestamp and two
seconds otherwise.
Attributes#
| Attribute | Type | Description |
|---|---|---|
path | str | |
type | EntryType | |
method | Method | |
mtime | datetime | |
size | int | None = None | |
mode | int | None = None |
Functions#
__init__#
__init__(path, type, method, mtime, size=None, mode=None) -> None| Parameter | Type | Description |
|---|---|---|
path | str | |
type | EntryType | |
method | Method | |
mtime | datetime | |
size | int | None = None | |
mode | int | None = None |