-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gzip streaming bug; add support for unzip filters
- Loading branch information
Showing
6 changed files
with
220 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Interface: UnzipFileInfo | ||
|
||
Information about a file to be extracted from a ZIP archive | ||
|
||
## Hierarchy | ||
|
||
* **UnzipFileInfo** | ||
|
||
## Index | ||
|
||
### Properties | ||
|
||
* [compression](unzipfileinfo.md#compression) | ||
* [name](unzipfileinfo.md#name) | ||
* [originalSize](unzipfileinfo.md#originalsize) | ||
* [size](unzipfileinfo.md#size) | ||
|
||
## Properties | ||
|
||
### compression | ||
|
||
• **compression**: number | ||
|
||
The compression format for the data stream. This number is determined by | ||
the spec in PKZIP's APPNOTE.txt, section 4.4.5. For example, 0 = no | ||
compression, 8 = deflate, 14 = LZMA. If the filter function returns true | ||
but this value is not 8, the unzip function will throw. | ||
|
||
___ | ||
|
||
### name | ||
|
||
• **name**: string | ||
|
||
The name of the file | ||
|
||
___ | ||
|
||
### originalSize | ||
|
||
• **originalSize**: number | ||
|
||
The original size of the file | ||
|
||
___ | ||
|
||
### size | ||
|
||
• **size**: number | ||
|
||
The compressed size of the file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Interface: UnzipOptions | ||
|
||
Options for expanding a ZIP archive | ||
|
||
## Hierarchy | ||
|
||
* **UnzipOptions** | ||
|
||
↳ [AsyncUnzipOptions](asyncunzipoptions.md) | ||
|
||
## Index | ||
|
||
### Properties | ||
|
||
* [filter](unzipoptions.md#filter) | ||
|
||
## Properties | ||
|
||
### filter | ||
|
||
• `Optional` **filter**: [UnzipFileFilter](../README.md#unzipfilefilter) | ||
|
||
A filter function to extract only certain files from a ZIP archive |
Oops, something went wrong.