-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
From the interface-ipfs-core tests,
CID=$(ipfs dag put <<<'{"path": {"to": {"file": "asdfasdfasdf"}}}')
ipfs resolve /ipfs/$CID/path/to/file
should fail with "found non-link at given path".
Currently, it returns /ipfs/$CID
.
Really, it should fail with "not a valid unixfs file". However, if we replace /ipfs
with /ipld
, it still returns the same result. In that case, it should probably just return the entire path (IMO, it shouldn't error).
However, neither of these fixes will make the JS tests pass.
Metadata
Metadata
Assignees
Labels
No labels