Skip to main content

install_package

Function install_package 

Source
pub fn install_package(
    run: &mut RunContext<'_>,
    what: &Installing<'_>,
    files: &[FileEntry],
    point: &str,
    progress: &mut Progress,
) -> Result<(), ExecuteError>
Expand description

Copies out what the package replaces, records it as installing, then extracts, so a run that dies midway leaves files the next run knows are ours.