-
Notifications
You must be signed in to change notification settings - Fork 298
ipfs.resolve (or ipfs.path.resolve) is missing #174
Comments
That is actually unixfs utilities, not part of the HTTP api itself. Nevertheless, it would be really nice to have a Node.js module that understands unixfs and it is able to resolve paths |
Uhm, I guess I could work around resolving paths by running |
I does not look like |
I believe that @fazo96 is looking for something similar to |
Ok, rereading this issue, you can totally do however, the new DAG API (which comes to replace object) does and it is a WIP here: ipfs-inactive/interface-js-ipfs-core#99 please share your review and thoughts in how it should work there. |
Maybe I haven't looked hard enough but I think
ipfs.path.resolve
oripfs.resolve
should be there (to solve relative paths like/ipfs/<hash>/a/b/c
to/ipfs/<hash>
).If I have time later I can try adding it (with tests).
The text was updated successfully, but these errors were encountered: