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 SwitchBranchAction(direction Direction, ctx *app.Context, handler Handler) (actions.CheckoutResult, error) + type Direction string + const DirectionBottom + const DirectionTop + type Handler interface + Cleanup func() + IsInteractive func() bool + PromptSelectBranch func(message string, branches []string) (string, error) + type NullHandler struct + func (h *NullHandler) PromptSelectBranch(string, []string) (string, error)