pub fn delete_branch(repo_path: &RepoPath, branch_ref: &str) -> Result<()>
The user must not be on the branch for the branch to be deleted