mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-10 17:20:53 +01:00
docs: add @field
annotations for ZipEntryProperties
This commit is contained in:
parent
4ad9806ccc
commit
e8be46864a
1 changed files with 8 additions and 0 deletions
|
@ -168,6 +168,14 @@ export type CompressionMethod = "STORE" | "DEFLATE"
|
||||||
|
|
||||||
A set of properties that describe a ZIP entry. Used internally for construction of
|
A set of properties that describe a ZIP entry. Used internally for construction of
|
||||||
[ZipEntry] objects.
|
[ZipEntry] objects.
|
||||||
|
|
||||||
|
@field versionMadeBy number -- Version of software and OS that created the ZIP
|
||||||
|
@field compressedSize number -- Compressed size in bytes
|
||||||
|
@field size number -- Uncompressed size in bytes
|
||||||
|
@field attributes number -- File attributes
|
||||||
|
@field timestamp number -- MS-DOS format timestamp
|
||||||
|
@field method CompressionMethod? -- Method used
|
||||||
|
@field crc number -- CRC32 checksum of the uncompressed data
|
||||||
]=]
|
]=]
|
||||||
type ZipEntryProperties = {
|
type ZipEntryProperties = {
|
||||||
versionMadeBy: number,
|
versionMadeBy: number,
|
||||||
|
|
Loading…
Add table
Reference in a new issue