Skip to main content

worktree_label

Function worktree_label 

Source
pub fn worktree_label(worktree: &Path) -> Option<String>
Expand description

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.