Skip to main content

canonical_parentless_snapshot_commit_bytes

Function canonical_parentless_snapshot_commit_bytes 

Source
pub fn canonical_parentless_snapshot_commit_bytes(
    root_tree: &GitSha1ObjectId,
    operation_id: &str,
    created_at_ms: u64,
) -> Result<Vec<u8>, GitSnapshotError>
Expand description

Construct the exact parentless commit bytes for one snapshot graph.

ยงErrors

Returns a typed snapshot failure for an unsafe operation identifier or unsupported timestamp.