pub fn extract_tarball_paths(
src: &Path,
dest_dir: &Path,
prefixes: &[&str],
) -> Result<()>Expand description
Extracts only entries from a .tar.gz archive whose paths start with one
of the given prefixes, placing them under dest_dir.
Path components beginning with ./ are normalised before matching.
ยงErrors
Returns an error if the archive cannot be opened, decompressed, or extracted.