Versions in this module Expand all Collapse all v0 v0.0.2 Dec 15, 2025 v0.0.1 Nov 25, 2025 Changes in this version + type FileKey struct + Gen uint32 + ShardID ShardID + func (fk FileKey) PackPath() string + func (fk FileKey) TablePath() string + type Key = blobcache.CID + type Shard = shard.Shard + func CreateShard(root *os.Root, prefix ShardID, maxTableSize, maxPackSize uint32) (*Shard, error) + func OpenShard(root *os.Root, prefix ShardID, maxTableSize, maxPackSize uint32) (*Shard, error) + type ShardID struct + func (p ShardID) Data() (ret [15]byte) + func (p ShardID) Len() int + func (p ShardID) Path() string + func (p ShardID) ShiftIn(i int) ShardID + func (sh ShardID) Child(k uint8) ShardID + type Store struct + func New(root *os.Root) *Store + func (db *Store) Close() error + func (db *Store) Delete(key Key) error + func (db *Store) Flush() error + func (db *Store) Get(key Key, fn func(data []byte)) (bool, error) + func (db *Store) Maintain() error + func (db *Store) Put(key Key, data []byte) (bool, error)