pub async fn resolve_worktree( start_dir: impl AsRef<Path>, name_or_path: &str, ) -> Result<Option<PathBuf>>
Resolve a worktree selection by name or path against the repository.