Skip to main content

write_blob

Function write_blob 

Source
pub fn write_blob(root: &Path, bytes: &[u8]) -> Result<String>
Expand description

Write bytes as a blob; returns its hex digest. Atomic (temp + rename); a no-op if the blob already exists (content-addressed dedup).