Skip to main content

install_managed_into

Function install_managed_into 

Source
pub async fn install_managed_into(
    paths: &DataPaths,
    provider_id: &str,
    cli_command: &str,
    on_line: &(dyn Fn(&'static str, &str) + Sync),
    cancel: &AtomicBool,
) -> Result<InstallOutcome, DownloadError>
Expand description

Install into the install dir; the caller holds the lock and has cleared leftovers. A failure removes the partial dir, so nothing unmarked is left.