Versions in this module Expand all Collapse all v0 v0.30.1 Oct 30, 2026 Changes in this version + var ErrCanceled = errors.New("reorder canceled") + func Action(ctx context.Context, deps Deps, opts Options) error + type Deps struct + Engine Engine + type Engine interface + Graph func(ctx context.Context, strategy engine.SortStrategy) *engine.StackGraph + ReparentBranchesToParents func(ctx context.Context, moves []engine.BranchParentMove, opts engine.ReparentOpts) error + Trunk func() engine.Branch + type Options struct + Editor OrderEditor + type OrderEditor interface + EditOrder func(branchesTipFirst []string, trunk string) ([]string, error)