Module piz::read

source · []
Expand description

Tools for reading a ZIP archive.

To start reading an archive, first create a ZipArchive from the file.

Current versions of this library don’t do any writing, but it was arranged to resemble the structure of the Zip crate and make room for potential future writers.

Structs

A directory in a ZipArchive, including its metadata and its contents.

Iterates over all directories in a FileTree

Metadata for a file or directory in the archive, retrieved from its central directory

Iterates over all files in a FileTree

Iterates over all files and directories in a FileTree

A ZIP archive to be read

Enums

The compression method used to store a file

A file or directory in a FileTree

Traits

Functions

Given metadata from ZipArchive::entries(), organize them into a tree of nested directories and files.

Type Definitions

Maps a directory’s child paths to the respective entries.