mise API - v0.0.0
    Preparing search index...

    Function file_read

    • Reads one file's raw bytes at a path the session resolves, for a surface that renders it natively. The backend does the reading.

      Parameters

      • filePath: string

        The file's path (absolute, cwd-relative, or projected).

      Returns Promise<Buffer<ArrayBufferLike>>

      The file's bytes.

      When the path does not resolve to a readable file.