extract_tarball_strip_one

Function extract_tarball_strip_one 

Source
pub fn extract_tarball_strip_one(src: &Path, dest_dir: &Path) -> Result<()>
Expand description

Extracts a .tar.gz archive, stripping the first path component.

ยงErrors

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