unzip
Members list
Value members
Concrete methods
Extract the given zip file into the destination directory
Extract the given zip file into the destination directory
Value parameters
- dest
-
The path to the destination directory for extracted files.
- excludePatterns
-
A list of regular expression patterns to exclude files during extraction. (Optional)
- source
-
An
os.Pathcontaining a zip file
Attributes
Lists the contents of the given zip file without extracting it
Lists the contents of the given zip file without extracting it
Attributes
Unzips a ZIP data stream represented by a geny.Readable and extracts it to a destination directory.
Unzips a ZIP data stream represented by a geny.Readable and extracts it to a destination directory.
Value parameters
- dest
-
The path to the destination directory for extracted files.
- excludePatterns
-
A list of regular expression patterns to exclude files during extraction. (Optional)
- source
-
A geny.Readable object representing the ZIP data stream.
Attributes
Low-level api that streams the contents of the given zip file: takes a geny.Reaable providing the bytes of the zip file, and returns a geny.Generator containing ZipEntrys and the underlying ZipInputStream representing the entries in the zip file.
Low-level api that streams the contents of the given zip file: takes a geny.Reaable providing the bytes of the zip file, and returns a geny.Generator containing ZipEntrys and the underlying ZipInputStream representing the entries in the zip file.