Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + func Action(ctx *app.Context, opts Options, h Handler) error + func BuildRebaseSpecs(eng engine.Engine, out output.Output, source, onto string, ...) []engine.RebaseSpec + func SelectOntoInteractive(ctx *app.Context, sourceBranch string) (string, []engine.RebaseSpec, error) + type Handler interface + Cleanup func() + Complete func(result Result) + IsInteractive func() bool + OnRename func(oldName, newName string) + OnStep func(step Step, status handler.StepStatus, message string) + PromptConfirmMove func(preview Preview) (bool, error) + PromptRename func(oldName, oldScope, newScope string) (bool, error) + PromptSelectOnto func(ctx *app.Context, sourceBranch string) (string, []engine.RebaseSpec, error) + Start func(sourceBranch, oldParent, newParent string) + type NullHandler struct + func (h *NullHandler) Complete(Result) + func (h *NullHandler) OnRename(string, string) + func (h *NullHandler) PromptConfirmMove(Preview) (bool, error) + func (h *NullHandler) PromptRename(string, string, string) (bool, error) + func (h *NullHandler) PromptSelectOnto(*app.Context, string) (string, []engine.RebaseSpec, error) + func (h *NullHandler) Start(string, string, string) + type Options struct + AutoRename bool + DryRun bool + Onto string + RebaseSpecs []engine.RebaseSpec + SkipConfirm bool + Source string + type Preview struct + Commits []string + ConflictBranch string + ConflictError string + ConflictingFiles []string + Descendants []string + HasConflicts bool + NewParent string + OldParent string + SourceBranch string + type Result struct + NewName string + NewParent string + OldParent string + Renamed bool + SourceBranch string + type Selection struct + func PrepareSelection(ctx *app.Context, source string) (*Selection, error) + func (s *Selection) Descendants() []engine.Branch + func (s *Selection) OldParent() *engine.Branch + func (s *Selection) OldParentRev() string + func (s *Selection) ValidateOnto(ctx context.Context, onto string) (*engine.RebaseValidation, []string, []engine.RebaseSpec, error) + type Step string + const StepReparenting + const StepRestacking + const StepValidating