Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LocalFileToUpload

A local file to upload.

Hierarchy

Implements

Index

Constructors

constructor

Properties

file

file: string

The path to the local file.

transformer

transformer: deploy_transformers.DataTransformer

The data transformer.

transformerOptions

transformerOptions: any

The options for the data transformer.

transformerStateKeyProvider

transformerStateKeyProvider: function

A function that provides a key for the state value of a data transformer.

Type declaration

    • (): any
    • Returns any

transformerSubContext

transformerSubContext: any

An sub context object for the transformer context.

workspace

workspace: Workspace

The underlying workspace.

Accessors

name

  • get name(): string

path

  • get path(): string

Methods

onBeforeUpload

  • onBeforeUpload(): Promise<void>

Protected onRead

  • onRead(): Promise<Buffer>

onUploadCompleted

  • onUploadCompleted(): Promise<void>

read

  • read(): Promise<any>

Generated using TypeDoc