Skip to main content

extract

Function extract 

Source
pub fn extract(
    archive: &str,
    src: &Path,
    dest: &Path,
    raw_name: &str,
    strip: u32,
    max_decompressed: u64,
) -> VtaResult<()>
Expand description

Materialize an artifact’s bytes into dest according to its archive kind, stripping strip leading path components (the provider’s layout). max_decompressed caps the total decompressed bytes (audit M8).