Skip to main content

bundle_blobs

Function bundle_blobs 

Source
pub fn bundle_blobs(bundle: &UploadBundle) -> Vec<(BundleBlob<'_>, String)>
Expand description

Every transferable blob of bundle, in ladder order: the index tier (T0) — the provenance blob then the sealed metadata blob — the preview tier (T1) — each derivative tier’s signed manifest, then each derivative — then the original (T2).

The provenance blob is unconditional: a managed asset always has a chain head, and the server needs that blob both to publish the asset and to hold a chain head for the next lifecycle op. The metadata blob is conditional — a head action that binds none (delete, trash-restore, …) simply contributes no metadata rung, because the ladder is whatever the manifest actually commits to and never a fabrication.