Skip to main content

default_branch

Function default_branch 

Source
pub async fn default_branch(cwd: &Path) -> String
Expand description

Get the default/main branch name.