Skip to main content

single_trunk_guard

Function single_trunk_guard 

Source
pub fn single_trunk_guard(
    ctx: &Ctx,
    run: &mut Runner<'_>,
) -> Result<StepState, RkError>
Expand description

The destructive step’s own guard: whether deleting a candidate branch can lose work.

Satisfied means every candidate is already gone or is an ancestor of the trunk; Unsatisfied means the deletion must refuse.

§Errors

Propagates executor failures.