Skip to content
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
@lidel

Description

@lidel

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

Metadata

Metadata

Assignees

Labels

P3Low: Not priority right nowexp/expertHaving worked on the specific codebase is importantkind/bugA bug in existing code (including security flaws)kind/resolved-in-heliastatus/readyReady to be worked

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions