Skip to main content

write_blob_ref

Function write_blob_ref 

Source
pub fn write_blob_ref(reference: &str, file: &str, content: &str) -> Result<()>
Expand description

Store content as a single-file commit and point reference at it, so the data rides along a normal ref push. Orphan each time: the ref just moves to the new commit (callers force-push it, as it is regenerable).