Skip to main content

get_blob

Function get_blob 

Source
pub fn get_blob(
    store: &dyn ChunkStore,
    manifest_hash: &ContentHash,
) -> Result<Vec<u8>, StoreError>
Expand description

Reassembles a blob from its manifest address, verifying every chunk.

ยงErrors

Returns StoreError::BadManifest when the manifest fails to decode, names an unsupported format version, or disagrees with the reassembled length, and propagates chunk lookup and verification failures.