cockpit-plugin-base-react - v1.1.1
    Preparing search index...

    Function readFile

    • Reads a file from the host filesystem via Cockpit, requesting superuser escalation.

      Parameters

      • path: string

        Absolute path to the file.

      Returns Promise<string | null>