Skip to main content

build_manifest

Function build_manifest 

Source
pub fn build_manifest(
    objects: impl IntoIterator<Item = ManifestObject>,
) -> Result<BuiltManifest, ManifestBuildError>
Expand description

Build the canonical manifest for objects.

Objects are deduplicated by (kind, hash); an exact repeat is collapsed, while a repeat that disagrees about decoded_size is a caller bug and is rejected rather than silently resolved.