download_and_apply_update_with_updater

Function download_and_apply_update_with_updater 

Source
pub async fn download_and_apply_update_with_updater(
    updater: Updater,
    channel_name: &str,
    version: &str,
    update_url_source: UpdateUrlSource,
) -> Result<(), UpdateError>
Expand description

Installs all packages and writes the Fuchsia ZBI from the latest build on the given channel.

Has the same arguments as download_and_apply_update, but allows passing in pre-configured components for testing.