Interface: CARMetadata
types.CARMetadata
Metadata pertaining to a CAR file.
Hierarchy
CARHeaderInfo
↳
CARMetadata
Properties
cid
• cid: CARLink
CID of the CAR file (not the data it contains).
Defined in
node_modules/@web3-storage/upload-client/dist/src/types.d.ts:111
roots
• roots: Link
<unknown
, number
, number
, Version
>[]
Root CIDs present in the CAR header.
Inherited from
CARHeaderInfo.roots
Defined in
node_modules/@web3-storage/upload-client/dist/src/types.d.ts:89
size
• size: number
Size of the CAR file in bytes.
Defined in
node_modules/@web3-storage/upload-client/dist/src/types.d.ts:115
version
• version: number
CAR version number.
Inherited from
CARHeaderInfo.version
Defined in
node_modules/@web3-storage/upload-client/dist/src/types.d.ts:85