Skip to main content

worktrees

Function worktrees 

Source
pub fn worktrees(repo: &Path) -> Result<Vec<Worktree>>
Expand description

Enumerates and classifies a repository’s worktrees.

§Errors

Returns Err if git worktree list fails.