pub fn worktree_label(worktree: &Path) -> Option<String>
The worktree label for a linked worktree directory.
Defaults to the directory name, overridden by the worktree_label key in that worktree’s own configuration files.
worktree_label