Skip to main content

sidecar_enrichment

Function sidecar_enrichment 

Source
pub fn sidecar_enrichment(
    metadata: &ExtractedMetadata,
) -> Option<SidecarEnrichment>
Expand description

Map one folded exporter record onto the sidecar fields it enriches, or None when the record carries nothing to write.

The None case is load-bearing: an entry whose export supplied no metadata must reach the signed write path with no enrichment at all, so its sidecar encodes byte-identically to a plain filesystem import’s.