Versions in this module Expand all Collapse all v0 v0.0.1 Feb 19, 2025 Changes in this version + type Blockstore struct + func Open(path string, _ Options) (*Blockstore, error) + func (b *Blockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) + func (b *Blockstore) Close() error + func (b *Blockstore) DeleteBlock(ctx context.Context, cid cid.Cid) error + func (b *Blockstore) Get(ctx context.Context, cid cid.Cid) (blocks.Block, error) + func (b *Blockstore) GetSize(ctx context.Context, cid cid.Cid) (int, error) + func (b *Blockstore) Has(ctx context.Context, cid cid.Cid) (bool, error) + func (b *Blockstore) HashOnRead(_ bool) + func (b *Blockstore) Put(ctx context.Context, block blocks.Block) error + func (b *Blockstore) PutMany(ctx context.Context, blocks []blocks.Block) error + type Options struct