Documentation ¶
Index ¶
- func FilterPinned(pins pin.Pinner, out chan<- interface{}, cids []*cid.Cid) []*cid.Cid
- func ProcRmOutput(in <-chan interface{}, sout io.Writer, serr io.Writer) error
- func RmBlocks(blocks bs.GCBlockstore, pins pin.Pinner, cids []*cid.Cid, opts RmBlocksOpts) (<-chan interface{}, error)
- type RemovedBlock
- type RmBlocksOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterPinned ¶
func RmBlocks ¶
func RmBlocks(blocks bs.GCBlockstore, pins pin.Pinner, cids []*cid.Cid, opts RmBlocksOpts) (<-chan interface{}, error)
Types ¶
type RemovedBlock ¶
RemovedBlock is used to respresent the result of removing a block. If a block was removed successfully than the Error string will be empty. If a block could not be removed than Error will contain the reason the block could not be removed. If the removal was aborted due to a fatal error Hash will be be empty, Error will contain the reason, and no more results will be sent.
type RmBlocksOpts ¶
Click to show internal directories.
Click to hide internal directories.