Skip to main content

delete_ref_safe

Function delete_ref_safe 

Source
pub fn delete_ref_safe(layout: &RepoLayout, branch: &str) -> RefResult<()>
Expand description

Delete a branch ref unless it is the currently checked-out branch.