Versions in this module Expand all Collapse all v0 v0.2.0 Jan 29, 2026 v0.1.0 Jan 24, 2026 Changes in this version + func DefaultVolumeSpec() blobcache.VolumeSpec + func NewGotKV() gotkv.Machine + type MarkState struct + Info marks.Info + Target gdat.Ref + func (b MarkState) Marshal(out []byte) []byte + func (s *MarkState) Unmarshal(data []byte) error + type Root struct + BrokenSet gotkv.Root + Marks gotkv.Root + func ParseRoot(data []byte) (*Root, error) + func (r *Root) Unmarshal(data []byte) error + func (r Root) Marshal(out []byte) []byte + type Space struct + DMach *gdat.Machine + KVMach *gotkv.Machine + Volume marks.Volume + func (s *Space) Create(ctx context.Context, name string, cfg marks.Metadata) (*marks.Info, error) + func (s *Space) Delete(ctx context.Context, name string) error + func (s *Space) Inspect(ctx context.Context, name string) (*marks.Info, error) + func (s *Space) List(ctx context.Context, span marks.Span, limit int) ([]string, error) + func (s *Space) Open(ctx context.Context, name string) (*marks.Mark, error) + func (s *Space) Set(ctx context.Context, name string, cfg marks.Metadata) error + type Tx struct + func BeginTx(ctx context.Context, dmach *gdat.Machine, kvmach *gotkv.Machine, ...) (*Tx, error) + func NewTx(tx volumes.Tx, dmach *gdat.Machine, kvmach *gotkv.Machine) *Tx + func (tx *Tx) Abort(ctx context.Context) error + func (tx *Tx) Commit(ctx context.Context) error + func (tx *Tx) Delete(ctx context.Context, name string) error + func (tx *Tx) Get(ctx context.Context, name string) (*MarkState, error) + func (tx *Tx) ListNames(ctx context.Context, span marks.Span, limit int) ([]string, error) + func (tx *Tx) LoadBranchRoot(ctx context.Context, name string, dst *[]byte) error + func (tx *Tx) Put(ctx context.Context, name string, b MarkState) error + func (tx *Tx) SaveMarkRoot(ctx context.Context, name string, data []byte) error + type VirtVolume struct + func (v *VirtVolume) BeginTx(ctx context.Context, tp volumes.TxParams) (volumes.Tx, error) + type VirtVolumeTx struct + func (vvt *VirtVolumeTx) Abort(ctx context.Context) error + func (vvt *VirtVolumeTx) Commit(ctx context.Context) error + func (vvt *VirtVolumeTx) Exists(ctx context.Context, cids []blobcache.CID, dst []bool) error + func (vvt *VirtVolumeTx) Get(ctx context.Context, cid blobcache.CID, buf []byte) (int, error) + func (vvt *VirtVolumeTx) Hash(data []byte) blobcache.CID + func (vvt *VirtVolumeTx) Load(ctx context.Context, dst *[]byte) error + func (vvt *VirtVolumeTx) MaxSize() int + func (vvt *VirtVolumeTx) Post(ctx context.Context, data []byte) (blobcache.CID, error) + func (vvt *VirtVolumeTx) Save(ctx context.Context, src []byte) error