Versions in this module Expand all Collapse all v0 v0.0.2 Dec 15, 2025 Changes in this version type Tx + func (tx *Tx) Params() blobcache.TxParams v0.0.1 Nov 25, 2025 Changes in this version + type Tx struct + func (tx *Tx) Volume() volumes.Volume + func (v *Tx) Abort(ctx context.Context) error + func (v *Tx) Commit(ctx context.Context) error + func (v *Tx) Delete(ctx context.Context, cids []blobcache.CID) error + func (v *Tx) Exists(ctx context.Context, cids []blobcache.CID, dst []bool) error + func (v *Tx) Get(ctx context.Context, cid blobcache.CID, buf []byte, opts blobcache.GetOpts) (int, error) + func (v *Tx) Hash(salt *blobcache.CID, data []byte) blobcache.CID + func (v *Tx) IsVisited(ctx context.Context, ptcids []blobcache.CID, dst []bool) error + func (v *Tx) Link(ctx context.Context, subvol blobcache.OID, rights blobcache.ActionSet, ...) error + func (v *Tx) Load(ctx context.Context, dst *[]byte) error + func (v *Tx) MaxSize() int + func (v *Tx) Post(ctx context.Context, data []byte, opts blobcache.PostOpts) (blobcache.CID, error) + func (v *Tx) Save(ctx context.Context, src []byte) error + func (v *Tx) Unlink(ctx context.Context, targets []blobcache.OID) error + func (v *Tx) Visit(ctx context.Context, ptcids []blobcache.CID) error + func (v *Tx) VisitLinks(ctx context.Context, targets []blobcache.OID) error + type Vault struct + func New(inner volumes.Volume, secret [32]byte, hf blobcache.HashFunc) *Vault + func (v *Vault) AccessSubVolume(ctx context.Context, target blobcache.OID) (blobcache.ActionSet, error) + func (v *Vault) Await(ctx context.Context, prev []byte, next *[]byte) error + func (v *Vault) BeginTx(ctx context.Context, params blobcache.TxParams) (volumes.Tx, error) + func (v *Vault) GetBackend() blobcache.VolumeBackend[blobcache.OID] + func (v *Vault) GetParams() blobcache.VolumeConfig + func (v *Vault) Inner() volumes.Volume