Skip to main content

Module zip

Module zip 

Source
Expand description

ZIP file manipulation module for C API exposure

Provides a ZipFile struct for reading/writing ZIP archives.

Structs§

ZipFile
A ZIP archive that can be read from or written to
ZipFileEntry
File entry in a ZIP archive (with data, for writing)
ZipPathEntry
Path entry in a ZIP archive (metadata only, no data)
ZipReadConfig
Configuration for reading ZIP archives
ZipWriteConfig
Configuration for writing ZIP archives

Enums§

ZipReadError
Error when reading ZIP archives
ZipWriteError
Error when writing ZIP archives

Functions§

zip_create
Create a ZIP archive from file entries (consumes entries, no clone)
zip_create_from_files
Create a ZIP archive from path/data pairs (consumes entries, no clone)
zip_extract_all
Extract all files from ZIP data
zip_list_contents
List contents of ZIP data without extracting

Type Aliases§

ZipFileEntryVec
Vec of ZipFileEntry
ZipPathEntryVec
Vec of ZipPathEntry