Expand description
Types for reading ZIP archives
Structs§
- Config
- Configuration for reading ZIP archives.
- Extract
Options - Extract options
- ZipArchive
- ZIP archive reader
- ZipArchive
Metadata - Immutable metadata about a
ZipArchive. - ZipFile
- A struct for reading a zip file
- ZipFile
Entry - A struct for reading a zip file, without a reader
- ZipFile
Entry With Data Descriptor - A zip file Entry with a data descriptor (if present).
- ZipFile
Seek - A struct for reading and seeking a zip file
- ZipRead
Options - Options for reading a file from an archive.
Enums§
- Archive
Offset - The offset of the start of the archive from the beginning of the reader.
- Symlink
Extract Action - Symlink extract action
Traits§
- HasZip
Metadata - A trait for exposing file metadata inside the zip.
- Root
DirFilter - A filter that determines whether an entry should be ignored when searching for the root directory of a Zip archive.
Functions§
- read_
zipfile_ from_ stream - Read
ZipFilestructures from a non-seekable reader. - read_
zipfile_ from_ stream_ with_ compressed_ size - Read
ZipFilefrom a non-seekable reader likeread_zipfile_from_streamdoes, but assume the given compressed size and don’t read any further ahead than that. - read_
zipfile_ from_ stream_ with_ options - Same as
read_zipfile_from_streambut withZipReadOptionsSince LZMA decoding requires the uncompressed length, you will need to override it - root_
dir_ common_ filter - Common filters when finding the root directory of a Zip archive.