Versions in this module Expand all Collapse all v0 v0.0.2 Dec 15, 2025 Changes in this version type Tx + Params func() blobcache.TxParams v0.0.1 Nov 25, 2025 Changes in this version + type LinkSet = map[blobcache.OID]blobcache.ActionSet + type System interface + Drop func(ctx context.Context, vol V) error + Up func(ctx context.Context, spec Params) (V, error) + type Tx interface + Abort func(ctx context.Context) error + Commit func(ctx context.Context) error + Delete func(ctx context.Context, cids []blobcache.CID) error + Exists func(ctx context.Context, cids []blobcache.CID, dst []bool) error + Get func(ctx context.Context, cid blobcache.CID, buf []byte, opts blobcache.GetOpts) (int, error) + Hash func(salt *blobcache.CID, data []byte) blobcache.CID + IsVisited func(ctx context.Context, cids []blobcache.CID, dst []bool) error + Link func(ctx context.Context, target blobcache.OID, rights blobcache.ActionSet, ...) error + Load func(ctx context.Context, dst *[]byte) error + MaxSize func() int + Post func(ctx context.Context, data []byte, opts blobcache.PostOpts) (blobcache.CID, error) + Save func(ctx context.Context, src []byte) error + Unlink func(ctx context.Context, targets []blobcache.OID) error + Visit func(ctx context.Context, cids []blobcache.CID) error + VisitLinks func(ctx context.Context, targets []blobcache.OID) error + type UnsaltedStore struct + func NewUnsaltedStore(inner Tx) *UnsaltedStore + func ViewUnsalted(ctx context.Context, tx Tx) (*UnsaltedStore, []byte, error) + func (v UnsaltedStore) Delete(ctx context.Context, cids []blobcache.CID) error + func (v UnsaltedStore) Exists(ctx context.Context, cids []blobcache.CID, dst []bool) error + func (v UnsaltedStore) Get(ctx context.Context, cid blobcache.CID, buf []byte) (int, error) + func (v UnsaltedStore) Hash(data []byte) blobcache.CID + func (v UnsaltedStore) MaxSize() int + func (v UnsaltedStore) Post(ctx context.Context, data []byte) (blobcache.CID, error) + type Volume interface + AccessSubVolume func(ctx context.Context, target blobcache.OID) (blobcache.ActionSet, error) + BeginTx func(ctx context.Context, spec blobcache.TxParams) (Tx, error) + GetBackend func() blobcache.VolumeBackend[blobcache.OID] + GetParams func() blobcache.VolumeConfig