Skip to main content

is_worktree

Function is_worktree 

Source
pub async fn is_worktree(cwd: &Path) -> bool
Expand description

Check if the current directory is inside a worktree (not the main checkout).