Skip to main content

extract_zips

Function extract_zips 

Source
pub fn extract_zips(
    zips: &[PathBuf],
    dest: &Path,
    flat: bool,
) -> Result<BatchStats, ZipError>
Expand description

Extract multiple ZIP files in parallel using a pipelined batch approach.

Reads ZIPs into a large buffer, resolves entries, then inflates in parallel. dest is the root output directory. Each ZIP’s contents are extracted into a subdirectory named after the ZIP file (without extension).

Returns extraction statistics.