Wrap with directory option with uint8array data returns empty root CID #176
Labels
exp/beginner
Can be confidently tackled by newcomers
kind/maintenance
Work required to avoid breaking changes or harm to project's status quo
P3
Low: Not priority right now
Code snipped replicating the issue:
The expectation would be to either throw an error or wrap with a directory. From my debugging, it looks that the underlying reason for this is that a path is not provided and unixfs-importer will not be able to properly wrap with a directory. We can make this work with:
We should either just thrown an error in such cases, or have a path inferred. @achingbrain what do you think to be the expectation here?
Related to storacha/ipfs-car#88
The text was updated successfully, but these errors were encountered: