Skip to main content

locked_worktrees

Function locked_worktrees 

Source
fn locked_worktrees(repo_root: &Path) -> Option<Vec<WorktreeLock>>
Expand description

This repo’s worktrees git reports as locked, canonicalized, with the pid parsed from the reason when there is one. None when git cannot be asked - the caller sweeps as empty rather than judge without the lock facts.