Skip to main content

run_rollback

Function run_rollback 

Source
pub fn run_rollback() -> Result<RollbackSummary>
Expand description

Three-way swap between the live binary and .bak, leaving .bak pointing at what was previously live. Calling rollback twice in a row returns you to the original state — intentional, so users can toggle between last-two versions without redownloading.