Skip to main content

Module helpers

Module helpers 

Source

Structs§

ResolvedTarget
Resolved worktree target with named fields for clarity.

Functions§

build_hook_context
Build a hook context HashMap with standard fields.
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).
is_global_mode
parse_repo_branch_target
Parse ‘repo:branch’ notation.
resolve_worktree_target
Resolve worktree target to a ResolvedTarget with path, branch, and repo.
set_global_mode