These type of nodes are not produces by referenece IPFS implementations, yet such file nodes could be represented and therefor defined with this type.

In this file representation first chunk of the file is represented by a data field while rest of the file is represented by links.

It is NOT RECOMMENDED to use this representation (which is why it's marked deprecated), however it is still valid representation and UnixFS consumers SHOULD recognize it and interpret as described.

Deprecated

Hierarchy

  • ComplexFile

Properties

content: Uint8Array
layout: "complex"
metadata?: Metadata
parts: readonly FileLink[]
type: File

Generated using TypeDoc