RAGS - v1.10.0
    Preparing search index...

    Variable writeFile

    writeFile: (string: string, path: string) => Promise<File>

    Type Declaration

      • (string: string, path: string): Promise<File>
      • 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