Skip to main content

update_main_program_with

Function update_main_program_with 

Source
pub fn update_main_program_with(
    fetch_release: impl FnOnce() -> Result<Release>,
) -> Result<()>
Expand description

Implementation backing update_main_program, with the release source abstracted as a closure so unit tests can inject a stub release without hitting the network.