Function wasmer_cli::utils::unpack::try_unpack_targz
source ยท pub fn try_unpack_targz<P: AsRef<Path>>(
target_targz_path: P,
target_path: P,
strip_toplevel: bool,
) -> Result<PathBuf, Error>
Expand description
Convenience function that will unpack .tar.gz files and .tar.bz files to a target directory (does NOT remove the original .tar.gz)