Skip to main content

execute

Function execute 

Source
pub fn execute(
    plan: &Plan,
    decisions: Decisions,
    self_delete: &dyn SelfDeleteStrategy,
    ctx: Option<ExecuteContext>,
) -> Result<Outcome>
Expand description

Execute the uninstall plan in spec-prescribed order:

  1. State (least load-bearing)
  2. Credentials
  3. rmdir $ATOMCODE_HOME if empty
  4. PATH cleanup (rc / Windows User PATH)
  5. Binary self-update artifacts
  6. Self-delete (last)