Function repo_current_branch

Source
pub fn repo_current_branch(repo: &Repository) -> Result<Option<String>, Error>
Expand description

获取仓库当前分支名