fn extract_tar<R: Read>(
archive: Archive<R>,
archive_path: &Path,
dest_dir: &Path,
dest_name: Option<&str>,
) -> Result<PathBuf>Expand description
Extracts a tar archive to dest_dir. When dest_name is Some, only the matching entry is
extracted; otherwise the entire archive is unpacked.