This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
ipfs.files.ls() with long option doesn't include type, size, hash #1049
Closed
Description
Hi!
The following code snippet was used to list files:
const files = await ipfs.files.ls('/', {long: true});
console.log(files);
It produces the following result:
[
{ name: 'TestFile', type: 0, size: 0, hash: '' },
{ name: 'dir01', type: 0, size: 0, hash: '' },
{ name: 'dir02', type: 0, size: 0, hash: '' },
{ name: 'new1', type: 0, size: 0, hash: '' }
]
AFAIU type, size and hash should be included in response because long option is set.
Metadata
Metadata
Assignees
Labels
No labels