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

    Function writeFile

    • Writes content to a file on the host filesystem via Cockpit, requesting superuser escalation.

      Parameters

      • path: string

        Absolute path to the file.

      • content: string

        UTF-8 string content to write.

      Returns Promise<void>