Hierarchy (view full)

Properties

Methods

Properties

Contains information about the file.

Methods

  • Closes the file. This makes it available for other programs to use.

    Returns Promise<void>

  • Checks whether the file is still available.

    Returns Promise<boolean>

  • Writes the contents to the file. Changes are saved as soon as they are written.

    Parameters

    • contents: string

      Contents to write to the file.

    Returns Promise<void>

  • Writes the binary contents to the file. Changes are saved as soon as they are written.

    Parameters

    • contents: ArrayBuffer

      Binary contents to write to the file.

    Returns Promise<void>