pub fn worktree_path_basename(path: &Path) -> String
Last path component of path, without trailing directory separators (Git worktree_basename).
path
worktree_basename