extract_zip_paths

Function extract_zip_paths 

Source
pub fn extract_zip_paths(
    src: &Path,
    dest_dir: &Path,
    prefixes: &[&str],
) -> Result<()>
Expand description

Extracts only entries from a .zip archive whose paths start with one of the given prefixes, placing them under dest_dir.

ยงErrors

Returns an error if the archive cannot be opened or extracted.