Skip to main content

assemble

Function assemble 

Source
pub async fn assemble<B: BlobStore + ?Sized>(
    manifest: &Manifest,
    blobs: &B,
) -> Result<InMemoryGraphStore>
Expand description

Assemble manifest into an in-memory graph by fetching each slice from blobs and inserting it under its path.

Tolerates missing targets (ADR 0012): a manifest entry whose blob is not present is an honest dangling reference — skipped, not an error — so a view mid-sync still assembles the slices it does have. A blob that exists but is not a valid serialized slice is an error (corrupt store).