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.
fn unpack(
gctx: &GlobalContext,
tarball: &File,
unpack_dir: &Path,
include: &dyn Fn(&Path) -> bool,
) -> CargoResult<u64>
Unpack a tarball with zip bomb and overwrite protections.