Skip to main content

put_blob

Function put_blob 

Source
pub fn put_blob(
    store: &mut dyn ChunkStore,
    data: &[u8],
    params: ChunkerParams,
) -> Result<ContentHash, StoreError>
Expand description

Chunks data with FastCDC under params, stores every chunk and the manifest, and returns the manifest’s content address.

§Errors

Propagates any StoreError from the underlying store.