Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
log('No blocks in MFS')
return
}
throw err
}
const rootCid = new CID(mh)
yield rootCid
for await (const { ref } of refs(rootCid, { recursive: true })) {
yield new CID(ref)
}
})()
const output = new Set()
for await (const cid of parallelMerge(pinsSource, pinInternalsSource, mfsSource)) {
output.add(cidToString(cid, { base: 'base32' }))
}
return output
}