Structs§
- Resolved
Target - Resolved worktree target with named fields for clarity.
- Strict
Target - Strictly-resolved worktree target: name, branch, and path.
Functions§
- get_
branch_ for_ worktree - Get the branch for a worktree path from parse_worktrees output.
- get_
worktree_ metadata - Get worktree metadata (base branch and base repository path).
- parse_
repo_ branch_ target - Parse ‘repo:branch’ notation.
- resolve_
target_ strict - Strict target resolution: exact worktree name → exact branch name → exact path.
- resolve_
worktree_ target - Resolve worktree target to a
ResolvedTargetwith path, branch, and repo.