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 + type JSONRestackHandler struct + Result *RestackJSONResult + func NewJSONRestackHandler() *JSONRestackHandler + func (h *JSONRestackHandler) OnRestackBranch(branch string, result RestackResult, newRev string, prNumber *int, ...) + func (h *JSONRestackHandler) OnRestackComplete(restacked, _ int, _ []string) + func (h *JSONRestackHandler) OnRestackStart(branchCount int) + func (h *JSONRestackHandler) SetError(err error) + func (h *JSONRestackHandler) SetLastBranchStackRoot(branch, stackRoot string) + type NullRestackHandler struct + func (h *NullRestackHandler) OnRestackBranch(_ string, _ RestackResult, _ string, _ *int, _ engine.LockReason, _ bool, ...) + func (h *NullRestackHandler) OnRestackComplete(_, _ int, _ []string) + func (h *NullRestackHandler) OnRestackStart(_ int) + type RestackBranchInfo struct + Name string + NewRev string + PRNumber *int + Parent string + RerereResolvedCount int + StackRoot string + type RestackConflictInfo struct + Branch string + Parent string + StackRoot string + type RestackHandler interface + OnRestackBranch func(branch string, result RestackResult, newRev string, prNumber *int, ...) + OnRestackComplete func(restacked, skipped int, conflicts []string) + OnRestackStart func(branchCount int) + type RestackJSONResult struct + ConflictCount int + Conflicts []RestackConflictInfo + Error string + RestackCount int + Restacked []RestackBranchInfo + Skipped []string + StackRoots []string + Status RestackJSONStatus + TotalCount int + type RestackJSONStatus string + const RestackJSONStatusConflict + const RestackJSONStatusError + const RestackJSONStatusSuccess + type RestackResult string + const RestackConflict + const RestackDone + const RestackUnneeded