Skip to main content

run_update

Function run_update 

Source
pub fn run_update(opts: &Opts, env: &UpdateEnv) -> Result<Outcome, (String, u8)>
Expand description

The full update flow. Everything before the swap is read-only.

ยงErrors

(message, exit_code) for every failure mode; the caller renders it.