linksystemutil

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkSystemBlockstore

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

func NewLinkSystemBlockstore

func NewLinkSystemBlockstore(lsys linking.LinkSystem) *LinkSystemBlockstore

func (*LinkSystemBlockstore) AllKeysChan

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

func (*LinkSystemBlockstore) DeleteBlock

func (lsbs *LinkSystemBlockstore) DeleteBlock(ctx context.Context, c cid.Cid) error

func (*LinkSystemBlockstore) Get

func (lsbs *LinkSystemBlockstore) Get(ctx context.Context, c cid.Cid) (blocks.Block, error)

func (*LinkSystemBlockstore) GetSize

func (lsbs *LinkSystemBlockstore) GetSize(ctx context.Context, c cid.Cid) (int, error)

func (*LinkSystemBlockstore) Has

func (lsbs *LinkSystemBlockstore) Has(ctx context.Context, c cid.Cid) (bool, error)

func (*LinkSystemBlockstore) HashOnRead

func (lsbs *LinkSystemBlockstore) HashOnRead(enabled bool)

func (*LinkSystemBlockstore) Put

func (lsbs *LinkSystemBlockstore) Put(ctx context.Context, blk blocks.Block) error

func (*LinkSystemBlockstore) PutMany

func (lsbs *LinkSystemBlockstore) PutMany(ctx context.Context, blks []blocks.Block) error

Jump to

Keyboard shortcuts

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