Skip to main content

extract_pkg_file

Function extract_pkg_file 

Source
pub fn extract_pkg_file<P: AsRef<Path>, F>(
    name: &PkgName,
    version: &Version,
    work_dir: P,
    printer: &Arc<dyn Print + Send + Sync>,
    f: F,
) -> Result<PathBuf>
where F: FnOnce() -> Result<PathBuf>,
Expand description

Extracts the package archive for the specified package.