Expand description
Query resolution (spec §7): match a query against a set of worktrees in a defined precedence order, reporting a unique match, ambiguity, or no match.
Enums§
- Resolved
- The outcome of resolving a query against a worktree set. Indices refer into
the slice passed to
resolve.
Functions§
- resolve
- Resolves
queryagainstworktrees(spec §7): exact branch, then exact slug, then exact directory name; then an unambiguous prefix across all three. The first tier with any match wins; if that tier has more than one match the query is ambiguous.