cidlists

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CIDLists

type CIDLists interface {
	CreateList(chid datatransfer.ChannelID, initalCids []cid.Cid) error
	AppendList(chid datatransfer.ChannelID, c cid.Cid) error
	ReadList(chid datatransfer.ChannelID) ([]cid.Cid, error)
	DeleteList(chid datatransfer.ChannelID) error
}

CIDLists maintains files that contain a list of CIDs received for different data transfers

func NewCIDLists

func NewCIDLists(baseDir string) (CIDLists, error)

NewCIDLists initializes a new set of cid lists in a given directory

Jump to

Keyboard shortcuts

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