Skip to main content

default_branch

Function default_branch 

Source
pub async fn default_branch(repo_dir: &Path) -> Result<String>
Expand description

Get the default branch name (main or master).