The options used to fetch a file.

interface IFetchOptions {
    content?: boolean;
    format?: FileFormat;
    hash?: boolean;
    type?: string;
}

Properties

content?: boolean

Whether to include the file content.

The default is true.

format?: FileFormat

The override file format for the request.

hash?: boolean

Whether to include a hash in the response.

The default is false.

type?: string

The override file type for the request.