This repository was archived by the owner on Sep 28, 2021. It is now read-only.
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
Replace manual traversal with ipfs.resolve #14
Open
Description
AFAIK at the time this project was created ipfs.resolve was not present in js-ipfs, and we had to do the traversal manually.
Since then ipfs.resolve
landed in js-ipfs so this may be worth checking.
js-ipfs-http-response/src/resolver.js
Lines 56 to 57 in 076fde3
Things to check:
- does
resolve
work the same in go-ipfs and js-ipfs (eg. how HAMT directories are handled) - it should transparently take care of sharded directories