Versions in this module Expand all Collapse all v0 v0.0.1 Feb 13, 2026 Changes in this version + func Create(ctx context.Context, opts CreateOptions) (string, error) + type CreateOptions struct + Directory string + MainBranch string + MainWorktree bool + RepoURL string + type DirtyMainWorktreeError struct + Path string + func (e *DirtyMainWorktreeError) Error() string + type InitOptions struct + Directory string + MainBranch string + type InitResult struct + CreatedConfig bool + CreatedGitFile bool + Directory string + func Init(opts InitOptions) (InitResult, error) + type MigrateOptions struct + Directory string + ForceMainClean bool + MainBranch string + type MigrateResult struct + CreatedConfig bool + CreatedMainWorktree string + DetectedDirtyMainPath string + Directory string + MainBranch string + MovedWorktrees []string + RemovedRootEntries []string + func Migrate(ctx context.Context, opts MigrateOptions) (MigrateResult, error) + type UpgradeOptions struct + Directory string + MainBranch string + type UpgradeResult struct + AddedKeys []string + CreatedConfig bool + CreatedGitFile bool + Directory string + func Upgrade(opts UpgradeOptions) (UpgradeResult, error)