Function unpack

Source
fn unpack(
    gctx: &GlobalContext,
    tarball: &File,
    unpack_dir: &Path,
    include: &dyn Fn(&Path) -> bool,
) -> CargoResult<u64>
Expand description

Unpack a tarball with zip bomb and overwrite protections.