Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CIDSetManager ¶
type CIDSetManager struct {
// contains filtered or unexported fields
}
CIDSetManager keeps track of several CID sets, by SetID
func NewCIDSetManager ¶
func NewCIDSetManager(ds datastore.Datastore) *CIDSetManager
func (*CIDSetManager) DeleteSet ¶
func (mgr *CIDSetManager) DeleteSet(sid SetID) error
DeleteSet deletes a CID set
func (*CIDSetManager) InsertSetCID ¶
func (mgr *CIDSetManager) InsertSetCID(sid SetID, c cid.Cid) (exists bool, err error)
InsertSetCID inserts a CID into a CID set. Returns true if the set already contained the CID.
Click to show internal directories.
Click to hide internal directories.