Skip to main content

resolve

Function resolve 

Source
pub fn resolve(worktrees: &[Worktree], query: &str) -> Resolved
Expand description

Resolves query against worktrees (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.