Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

docs(ipfs.files.ls): type is a number #2939

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/SPEC/FILES.md
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ Where:
Each object contains the following keys:

- `name` which is the file's name
- `type` which is the object's type (`directory` or `file`)
- `type` which is the object's type (`0` for files or `1` for directories)
- `size` the size of the file in bytes
- `cid` the hash of the file (A [CID][cid] instance)
- `mode` the UnixFS mode as a Number
Expand Down