Skip to main content

canonical_rustferry_tree_bytes

Function canonical_rustferry_tree_bytes 

Source
pub fn canonical_rustferry_tree_bytes(
    goal3_tree: &GitSha1ObjectId,
) -> Result<Vec<u8>, GitSnapshotError>
Expand description

Construct the valid .rustferry tree containing only goal3.

ยงErrors

Returns GitSnapshotError::InvalidTreeEntry if the object cannot form a canonical entry.