archive_extract_file

Function archive_extract_file 

Source
pub fn archive_extract_file(
    archive: PathBuf,
    filename: PathBuf,
    destination: PathBuf,
) -> Result<()>
Expand description

Entry Point: Extract the selected file from the provided archive into the selected destination directory It detects if it is a compressed archive using the magic numbers from: https://www.garykessler.net/library/file_sigs.html