mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-01 06:17:56 +08:00
Fix bad formatting introduced by e855047ec
License: MIT Signed-off-by: Mib Kd743naq <mib.kd743naq@gmail.com>
This commit is contained in:
parent
a542dea5de
commit
a7abc9cdcc
@ -29,7 +29,7 @@ type RmBlocksOpts struct {
|
||||
|
||||
func RmBlocks(blocks bs.GCBlockstore, pins pin.Pinner, cids []*cid.Cid, opts RmBlocksOpts) (<-chan interface{}, error) {
|
||||
// make the channel large enough to hold any result to avoid
|
||||
// blocking while holding the GCLock
|
||||
// blocking while holding the GCLock
|
||||
out := make(chan interface{}, len(cids))
|
||||
go func() {
|
||||
defer close(out)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user