EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Function writeFileContent

    • Write content to a file with UTF-8 encoding.

      Idempotent at the byte level: if the file already exists with identical content, the file is left untouched (mtime preserved). This keeps aws s3 sync from re-uploading regenerated-but-identical files.

      Parameters

      • filepath: string

        Output file path

      • content: string

        File content

      Returns void