RAGS - v1.10.0
    Preparing search index...

    Function writeFile

    • Writes a string to a file asynchronously, replacing existing contents.

      Parameters

      • string: string

        The content to write

      • path: string

        The file path

      Returns Promise<File>

      A promise resolving to the Gio.File that was written