blossom_cache library

A network-free local Blossom blob store for Dart.

Classes

BlobDescriptor
Metadata describing a blob stored in a BlossomCache.
BlossomCache
A local, network-free Blossom blob store.
BoundedBlossomCache
A BlossomCache that caps the total stored size and evicts blobs in LRU order (lastAccessedAt ascending) when a put would exceed maxSize.
IdbBlossomCache
A BlossomCache backed by idb_shim, so the same code runs on web (real IndexedDB), native/server (sembast), or pure in-memory (tests).

Exceptions / Errors

BlossomCacheOverflowException
Thrown when a BoundedBlossomCache cannot accommodate a put.