Library API
    Preparing search index...

    Function serverRead

    • Reads a text file from the server sandboxed storage.

      Parameters

      • filePath: string

        Relative path inside the sandboxed root

      • OptionalrootDir: string

        Optional root directory override

      Returns Promise<string | null>

      File content as string, or null if file not found