Versions in this module Expand all Collapse all v0 v0.0.2 Dec 15, 2025 Changes in this version + const HashAlgo + func DefaultVolumeSpec() blobcache.VolumeSpec + func FmtURL(u blobcache.URL) string + func Hash(x []byte) blobcache.CID + func NewRemoteHelper(rem *Remote) gitrh.Server + func SaveRoot(ctx context.Context, svr bcsdk.Saver, root Root) error + func SyncGit(ctx context.Context, src bcsdk.RO, dst bcsdk.WO, id blobcache.CID) error + type GitRef = gitrh.Ref + type RefIterator struct + func (ri *RefIterator) Close() error + func (ri *RefIterator) Next(ctx context.Context, dst *GitRef) error + type Remote struct + func NewRemote(svc blobcache.Service, volh blobcache.Handle) *Remote + func OpenRemoteHelper(ctx context.Context, bc blobcache.Service, u blobcache.URL) (*Remote, error) + func (rem *Remote) Close() error + func (rem *Remote) Fetch(ctx context.Context, ws bcsdk.WO, refs map[string]blobcache.CID, ...) error + func (rem *Remote) GetRef(ctx context.Context, name string) (*GitRef, error) + func (rem *Remote) OpenIterator(ctx context.Context) (*RefIterator, error) + func (rem *Remote) Push(ctx context.Context, src bcsdk.RO, refs []GitRef) error + type Root struct + Refs tries.Root + func LoadRoot(ctx context.Context, ldr bcsdk.Loader) (*Root, error) + func ParseRoot(data []byte) (*Root, error) + type Schema struct + Tries tries.Machine + func (sch *Schema) Sync(ctx context.Context, rs schema.RO, ws schema.WO, rootData []byte) error + func (sch *Schema) ValidateChange(ctx context.Context, ch schema.Change) error