Skip to content

Commit

Permalink
zip: Add uncompress=false test and some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed May 26, 2022
1 parent 32c74da commit 47350e4
Show file tree
Hide file tree
Showing 5 changed files with 516 additions and 1 deletion.
6 changes: 6 additions & 0 deletions doc/formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ Current only supports plain RTMP (not RTMPT or encrypted variants etc) with AMF0

### zip

Supports ZIP64.

#### Options

|Name |Default|Description|
Expand All @@ -471,6 +473,10 @@ Decode value as zip
... | zip({uncompress: true})
```

#### References and links

- https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT


[#]: sh-end

Expand Down
3 changes: 3 additions & 0 deletions format/all/help.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ out # Decode value as xing
out ... | xing
"help(zip)"
out zip: ZIP archive decoder
out Supports ZIP64.
out Options:
out uncompress=true Decompress and probe files
out Examples:
Expand All @@ -774,3 +775,5 @@ out # Decode file using zip options
out $ fq -d zip -o uncompress=true . file
out # Decode value as zip
out ... | zip({uncompress: true})
out References and links
out https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT

0 comments on commit 47350e4

Please sign in to comment.