Entries with a dag-cbor, dag-json, cbor or json codec CID return JavaScript object entries
dag-cbor
dag-json
cbor
json
The CID of the entry
A disambiguator to allow TypeScript to work out the type of the entry.
if (entry.type === 'file') { // access UnixFSFile properties safely}if (entry.type === 'directory') { // access UnixFSDirectory properties safely} Copy
if (entry.type === 'file') { // access UnixFSFile properties safely}if (entry.type === 'directory') { // access UnixFSDirectory properties safely}
Entries with a
dag-cbor,dag-json,cbororjsoncodec CID return JavaScript object entries