Skip to main content

Module blob_store

Module blob_store 

Source
Expand description

Blob store abstraction for content-addressed function blobs.

A BlobStore maps [u8; 32] content hashes to raw byte blobs. Two implementations are provided:

  • MemoryBlobStore – in-memory, suitable for testing and ephemeral use.
  • FsBlobStore – filesystem-based with a git-style two-level directory layout (~/.shape/blobs/ab/cd1234...ef.blob).

Structs§

FsBlobStore
Filesystem-based blob store with git-style two-level directory layout.
MemoryBlobStore
In-memory blob store for testing and ephemeral use.

Traits§

BlobStore
Content-addressed blob storage.