pub fn worktree_dir_name(project: &str, branch: &str) -> StringExpand description
Builds the worktree directory name from a project name and branch.
Replaces / with - and strips characters that are unsafe for directory
names.
ยงExamples
("git-paw", "feature/auth-flow")โ"git-paw-feature-auth-flow"("git-paw", "fix/db")โ"git-paw-fix-db"