Skip to main content

run_download_install

Function run_download_install 

Source
async fn run_download_install(
    provider_id: &str,
    cli_command: &str,
    broker: &Arc<Broker>,
    __arg3: (&str, &str),
    cancel_rx: &mut Receiver<()>,
) -> Result<(), String>
Expand description

An install.start for a provider that is a release download: fetch the pinned file, check its hash, unpack, publish. Output lines go to the session; install.cancel stops the transfer and removes the partial dir.