Skip to main content

default_branch

Function default_branch 

Source
pub fn default_branch(repo_root: &Path) -> Result<String, PawError>
Expand description

Returns the name of the default branch (usually “main” or “master”).