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 ¶
NewCIDLists initializes a new set of cid lists in a given directory
Click to show internal directories.
Click to hide internal directories.