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 + const HookTimeout + func DetachAction(ctx *app.Context, opts DetachOptions) error + func OpenAction(ctx *app.Context, opts OpenOptions) (string, error) + func RemoveAction(ctx *app.Context, opts RemoveOptions) error + func ResolveApprovedHooks(ctx *app.Context) ([]string, error) + func RunPostCreateHooks(ctx *app.Context, worktreePath string) error + func RunResolvedHooks(hooks []string, worktreePath string, out output.Output) + type AttachOptions struct + Branch string + Name string + type AttachResult struct + AnchorBranch string + Name string + Path string + func AttachAction(ctx *app.Context, opts AttachOptions) (*AttachResult, error) + type CreateOptions struct + Name string + Scope string + type CreateResult struct + AnchorBranch string + Name string + Path string + func CreateAction(ctx *app.Context, opts CreateOptions) (*CreateResult, error) + type DetachOptions struct + Force bool + NameOrBranch string + type Entry struct + AnchorBranch string + CurrentBranch string + Exists bool + IsDirty bool + Name string + Path string + StackSize int + type ListOptions struct + type ListResult struct + CurrentAnchor string + Worktrees []Entry + func ListAction(ctx *app.Context, _ ListOptions) (*ListResult, error) + type OpenOptions struct + AnchorBranch string + type PruneOptions struct + DryRun bool + type PruneResult struct + Pruned []string + Skipped []SkippedEntry + func PruneAction(ctx *app.Context, opts PruneOptions) (*PruneResult, error) + type RemoveOptions struct + AnchorBranch string + Force bool + KeepBranch bool + type SkippedEntry struct + Name string + Reason string