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§
- FsBlob
Store - Filesystem-based blob store with git-style two-level directory layout.
- Memory
Blob Store - In-memory blob store for testing and ephemeral use.
Traits§
- Blob
Store - Content-addressed blob storage.