1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
ocean.js/docs/interfaces/FileInfo.md
2023-05-02 18:18:30 +01:00

2.0 KiB

@oceanprotocol/lib / Exports / FileInfo

Interface: FileInfo

Table of contents

Properties

Properties

checksum

Optional checksum: string

Computed file checksum

Defined in

@types/FileInfo.ts:43


contentLength

Optional contentLength: string

File content length.

Defined in

@types/FileInfo.ts:19


contentType

Optional contentType: string

File format, if applicable.

Example

"text/csv"

Defined in

@types/FileInfo.ts:13


index

Optional index: number

File index.

Defined in

@types/FileInfo.ts:25


method

Optional method: string

HTTP method used

Defined in

@types/FileInfo.ts:37


type

type: string

File URL.

Defined in

@types/FileInfo.ts:6


url

Optional url: string

File URL.

Defined in

@types/FileInfo.ts:31


valid

Optional valid: boolean

check if file exists

Defined in

@types/FileInfo.ts:49