Class FileHelpers

Hierarchy

  • FileHelpers

Constructors

Methods

Constructors

Methods

  • Node specific file writer, which writes the content to the specified filepath.

    This function is invasive, as it overwrite any existing files with the same name as the model.

    Parameters

    • content: string

      to write

    • filePath: string

      to write to,

    • ensureFilesWritten: boolean = false

      veryify that the files is completely written before returning, this can happen if the file system is swamped with write requests.

    Returns Promise<void>

Generated using TypeDoc