Skip to main content

resolve_worktree_target

Function resolve_worktree_target 

Source
pub fn resolve_worktree_target(
    target: Option<&str>,
    lookup_mode: Option<&str>,
) -> Result<ResolvedTarget>
Expand description

Resolve worktree target to a ResolvedTarget with path, branch, and repo.

Supports branch name lookup, worktree directory name lookup, and disambiguation when both match.