Skip to main content

write_commit

Function write_commit 

Source
pub fn write_commit(repo: &Repo, commit: &Commit) -> Result<Hash>
Expand description

write a commit to the object store

commits are serialized as CBOR, then zstd compressed. the hash is computed over the compressed bytes.