-
Notifications
You must be signed in to change notification settings - Fork 1.2k
jsipfs cat on a directory not working correctly #1142
Comments
This is an issue on js-ipfs-unixfs-engine. @pgte is this something you could take a look? Also, let's make sure to add a test to interface-ipfs-core. |
On it. |
Tests here: ipfs-inactive/interface-js-ipfs-core#182 |
@alanshaw test out |
I'm getting This is the hash I'm trying, which should be available in all IPFS repos: |
* fix: cat: test file existence *after* filtering. Should fix #1142 * fix: cat: filtering out result files * fix: cat: for when the ipfs path is a buffer * fix: cat: remove /ipfs/ prefix if there is one
* fix: cat: test file existence *after* filtering. Should fix #1142 * fix: cat: filtering out result files * fix: cat: for when the ipfs path is a buffer * fix: cat: remove /ipfs/ prefix if there is one
ipfs cat /ipfs/QmeZZkwN*zNgz38RBhHxmbCLH8UoUGQ*****6fcERe Can someone tell me how to solve this issue?
|
ipfs cat /ipfs/QmeZZkwN*zNgz38RBhHxmbCLH8UoUGQ*****6fcERe/fileName.extenstion |
Type:
Bug
Severity:
High
Description:
ipfs cat
on a directory displays the contents of a file in a sub directory, not the error "this dag node is a directory"Steps to reproduce the error:
lets cat that directory:
Wait, I was expecting some sort of directory error...
...yeah like that
weirdness, it is displaying a file in a sub folder...
The text was updated successfully, but these errors were encountered: