Skip to main content

write_ref

Function write_ref 

Source
pub fn write_ref(repo: &Repo, ref_name: &str, hash: &Hash) -> Result<()>
Expand description

write a ref (create or update)

ref_name can contain slashes for hierarchical refs like “x86_64/pkg/foo/1.0/outputs/bin”