Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReadRawTask

Hierarchy

Index

Constructors

constructor

Properties

args

args: string[]

command

command: string

errors

errors: string[] = []

parser

parser: Parser<Tags>

pending

pending: boolean

promise

promise: Promise<Tags>
returns

the resolution or rejection of this task.

state

state: string

stderr

stderr: string

stdout

stdout: string

Methods

addError

  • addError(err: string): void

onStderr

  • onStderr(buf: string | Buffer): void
  • Parameters

    • buf: string | Buffer

    Returns void

onStdout

  • onStdout(buf: string | Buffer): void
  • Parameters

    • buf: string | Buffer

    Returns void

reject

  • reject(error: Error, source?: undefined | string): void
  • This is for use by BatchProcess only, and will only be called when the process has errored after N retries

    Parameters

    • error: Error
    • Optional source: undefined | string

    Returns void

resolve

  • resolve(stdout: string, stderr: string, passed: boolean): Promise<void>
  • This is for use by BatchProcess only, and will only be called when the process is complete for this task's command

    Parameters

    • stdout: string
    • stderr: string
    • passed: boolean

    Returns Promise<void>

toString

  • toString(): string

Static for

  • for(filename: string, exiftoolArgs?: string[]): ReadRawTask

Static renderCommand

  • renderCommand(args: string[]): string

Generated using TypeDoc