Skip to main content

write_ref

Function write_ref 

Source
pub fn write_ref(mkit_dir: &Path, branch: &str, h: &Hash) -> RefResult<()>
Expand description

Write a branch ref (unconditional — equivalent to update_ref(branch, RefWriteCondition::Any, h)).