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 context.Context, repoRoot string, opts Options, handler Handler) error + func FindCommonlyNamedTrunk(branchNames []string) string + func InferTrunk(ctx context.Context, runner git.Runner, branchNames []string) string + type Handler interface + OnSuccess func(trunkName string, wasInitialized bool, isReset bool) + SelectTrunk func(ctx context.Context, branchNames []string, inferredTrunk string) (string, error) + type Options struct + Reset bool + Trunk string