RAGS - v1.10.0
    Preparing search index...

    Function readFileAsync

    • Reads a file asynchronously and returns a Promise of its contents.

      Parameters

      • file: string | File

        File path string or Gio.File object

      Returns Promise<string>

      A promise resolving to the file contents as a string