Skip to main content

worktree_dir

Function worktree_dir 

Source
pub fn worktree_dir(repo: &Path, id: &WorktreeName) -> PathBuf
Expand description

The worktree directory for an identity: <parent>/<repo>.<dir_component>. The /-scoped branch never reaches disk — only the flat dir component does.