Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

ipfs.files.cat path #138

Closed
jbenet opened this issue May 8, 2017 · 1 comment
Closed

ipfs.files.cat path #138

jbenet opened this issue May 8, 2017 · 1 comment

Comments

@jbenet
Copy link

jbenet commented May 8, 2017

Why does this not work?

ipfs.files.cat('/ipfs/<hash>/path')
  • The js-ipfs api says only a multihash or a string-encoded multihash.
  • calling cat on a path is standard IPFS api. not doing this is confusing to users of ipfs.
  • nothing here: https://github.com/ipfs/js-ipfs#api takes a path. this isn't right.
  • looked for alternative functions or examples that did this for 15 minutes. could not figure it out. 👎
@daviddias
Copy link
Contributor

This is now fully working, documented and tested in both js-ipfs and js-ipfs-api 🌟

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants