Versions in this module Expand all Collapse all v0 v0.0.1 Nov 25, 2025 Changes in this version + const SchemaName + func Constructor(_ json.RawMessage, _ schema.Factory) (schema.Schema, error) + type Client struct + Schema Schema + Service blobcache.Service + func (c *Client) CreateAt(ctx context.Context, nsh blobcache.Handle, name string, ...) (*blobcache.Handle, error) + func (c *Client) DeleteEntry(ctx context.Context, volh blobcache.Handle, name string) error + func (c *Client) GC(ctx context.Context, volh blobcache.Handle) error + func (c *Client) GetEntry(ctx context.Context, volh blobcache.Handle, name string) (*Entry, error) + func (c *Client) ListEntries(ctx context.Context, volh blobcache.Handle) ([]Entry, error) + func (c *Client) ListNames(ctx context.Context, volh blobcache.Handle) ([]string, error) + func (c *Client) OpenAt(ctx context.Context, nsh blobcache.Handle, name string, ...) (*blobcache.Handle, error) + func (c *Client) PutEntry(ctx context.Context, volh blobcache.Handle, name string, ...) error + type Entry struct + Name string + Rights blobcache.ActionSet + Target blobcache.OID + func (ent *Entry) Link() schema.Link + type Schema struct + func (sch Schema) ListEntries(ctx context.Context, s schema.RO, root []byte) ([]Entry, error) + func (sch Schema) OpenAs(ctx context.Context, s schema.RO, root []byte, peer blobcache.PeerID) (blobcache.ActionSet, error) + func (sch Schema) ValidateChange(ctx context.Context, change schema.Change) error + type Tx struct + Root []byte + Schema Schema + Tx *bcsdk.Tx + func (ns *Tx) Commit(ctx context.Context) error + func (ns *Tx) DeleteEntry(ctx context.Context, name string) error + func (ns *Tx) GetEntry(ctx context.Context, name string) (*Entry, error) + func (ns *Tx) ListEntries(ctx context.Context) ([]Entry, error) + func (ns *Tx) ListNames(ctx context.Context) ([]string, error) + func (ns *Tx) PutEntry(ctx context.Context, name string, target blobcache.OID, ...) error + func (ns *Tx) VisitAll(ctx context.Context) error