This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
refs and resolve don't work with sharded directories #2389
Closed
Description
Filling this so we don't forget to match recent fixes in go-ipfs (ipfs/kubo#6596)
Version information:
0.37.0
Description:
jsipfs refs
does not work with HAMT-sharded unixfs directories:
$ jsipfs refs -r /ipfs/QmT5NvUtoM5nWFfrQdVrFtvGfKFmG7AHE8P34isapyhCxX/wiki/Mars.html
Failed to get refs for /ipfs/QmT5NvUtoM5nWFfrQdVrFtvGfKFmG7AHE8P34isapyhCxX/wiki/Mars.html: Object has no property 'wiki'
same problem with ipfs resolve
:
$ jsipfs resolve -r /ipfs/QmT5NvUtoM5nWFfrQdVrFtvGfKFmG7AHE8P34isapyhCxX/wiki/
Object has no property 'wiki'
Interop notes
resolve
works fine in go-ipfs v0.4.22 and refs
was fixed in ipfs/kubo#6596 and will land in v0.5.0