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.
IPFS.files.ls returns integer not 'directory'/'file' in type attribute #3330
Closed
Description
From what I can tell, the documentation and the implementation differ.
Documentation here: https://github.com/ipfs/js-ipfs/blob/master/docs/core-api/FILES.md#ipfsfileslspath-options.
What I received was a 1 for directory.