Skip to main content

worktree_dir_name

Function worktree_dir_name 

Source
pub fn worktree_dir_name(project: &str, branch: &str) -> String
Expand description

Derives a worktree directory name from project and branch names.

The format is: <project>-<branch> with non-alphanumeric characters replaced by -.