-
Notifications
You must be signed in to change notification settings - Fork 1.3k
.cat subfiles #478
Comments
@dignifiedquire @diasdavid would a valid approach be to first check if the path contains a subfile, and if so, do .ls and grab the hash for the file and pass that to the dag-service within core.cat? |
I would suggest doing the same thing as go-ipfs, i.e. implementing a core function |
This will also make it easy to add CIDs to the resolution everywhere + ipns once we add it. |
@victorbjelkholm it might be good to have that resolver in its own module, so that given an source of merkle-dag nodes, it can resolve anything |
How is this one going? |
@diasdavid I remember it was mentioned that this was only written (the |
You get the resolve from IPLD resolver, but you also have to integrate it on unixfs-engine, a IPLD Path only goes to the "root dag node of the file", then you have to fetch the leafs |
adding this one to be tracked on #60 |
From #476, cannot .cat files that lives inside directories, example:
Shows no output
The text was updated successfully, but these errors were encountered: