archive formats: comments are specs only
This commit is contained in:
1 parent
8bd1a9327c
commit
e792c419d9
36 files changed
+172
-442
No files matched your search
@@ -1,10 +1,7 @@
|
||||
--!strict
|
||||
-- archive/zoo: Zoo archives (Rahul Dhesi's zoo 1.x / 2.x) read into an Archive: the archive header, the chain of
|
||||
-- directory entries (type 1, and type 2 with long names, directory names, Unix-style attributes and version numbers),
|
||||
-- deleted entries skipped, entries stored (method 0), LZW-compressed (method 1: codecs/compress/Lzw "zoo", 13-bit
|
||||
-- codes) or lzh-compressed (method 2: codecs/compress/Lzh "lh5"); every file's CRC-16 (ARC) is verified when read
|
||||
-- (Err.CHECKSUM). MS-DOS dates read as UTC. Written from zoo 2.10's file format description (zoo.h / ar.h). Not
|
||||
-- supported: writing, file generations beyond keeping the newest (older versions of a name get ";<version>").
|
||||
-- archive/zoo: Zoo 1.x / 2.x (zoo 2.10's zoo.h / ar.h): directory entries type 1 and 2, methods 0 stored, 1 LZW
|
||||
-- (13-bit), 2 lh5; CRC-16 (ARC) verified; MS-DOS dates as UTC. Not supported: writing, file generations beyond the
|
||||
-- newest (older versions of a name get ";<version>").
|
||||
|
||||
-- ------------------------------------------------------------------------------------------------ requires
|
||||
local Err = require("@rosetta/core/Err")
|
||||
@@ -25,7 +22,7 @@ local Zoo = {
|
||||
}
|
||||
|
||||
export type DecodeOptions = {
|
||||
maxBytes: number?, -- refuse an entry larger than this (default 2^30)
|
||||
maxBytes: number?, -- default 2^30
|
||||
maxEntries: number?, -- default 65536
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user