Options
All
  • Public
  • Public/Protected
  • All
Menu

Alias used to manage all the optional options used in the createOrUpdateFile or
createOrUpdateFileSync methods. All variables in this alias are optional, and are set to their defaults
by the methods that call them.

interface

CreateOrUpdateFileOptions

Hierarchy

  • CreateOrUpdateFileOptions

Index

Properties

Optional createDirectoriesRecursively

createDirectoriesRecursively?: boolean

Flag indicating if the full directory path should be made recursively or not. If this is set, overrides the
value set by createDirectory. Optional.

Optional createDirectory

createDirectory?: boolean

Flag indicating if any attempt at directory creation should be made at all. If a value is specified by
createDirectoriesRecursively, this value is ignored. Optional.

Optional encoding

encoding?: EncodingType

Character string indicating the encoding to when writing to a file. Optional.

Optional flag

flag?: FlagType

A character or character string used when writing to a file that indicates write type. Optional.

Generated using TypeDoc