recording_blockstore

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordingBlockstore

type RecordingBlockstore struct {
	// contains filtered or unexported fields
}

func (*RecordingBlockstore) AllKeysChan

func (bs *RecordingBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error)

func (*RecordingBlockstore) DeleteBlock

func (bs *RecordingBlockstore) DeleteBlock(ctx context.Context, c cid.Cid) error

func (*RecordingBlockstore) Get

func (*RecordingBlockstore) GetReadLog

func (bs *RecordingBlockstore) GetReadLog() []blockformat.Block

func (*RecordingBlockstore) GetSize

func (bs *RecordingBlockstore) GetSize(ctx context.Context, c cid.Cid) (int, error)

func (*RecordingBlockstore) GetWriteLog

func (bs *RecordingBlockstore) GetWriteLog() map[cid.Cid]blockformat.Block

func (*RecordingBlockstore) Has

func (bs *RecordingBlockstore) Has(ctx context.Context, c cid.Cid) (bool, error)

func (*RecordingBlockstore) HashOnRead

func (bs *RecordingBlockstore) HashOnRead(enabled bool)

func (*RecordingBlockstore) Put

func (*RecordingBlockstore) PutMany

func (bs *RecordingBlockstore) PutMany(ctx context.Context, blocks []blockformat.Block) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL