Skip to main content

is_worktree

Function is_worktree 

Source
pub fn is_worktree() -> Result<bool>
Expand description

Check if we’re in a worktree (not the main repo)