Interface OpenFileOptions

Options controlling the behavior of methods involving the opening of filepaths

Hierarchy

  • OpenFileOptions

Properties

ensureExists?: boolean

Determines whether the file to be opened must first be made to exist.

flags: string | number

The type of open operation (i.e. "r" for reading, "w" for writing)

mode?: number

The permissions to give the file if it is generated during the operation.

Generated using TypeDoc