CoAgent8 - Source API
    Preparing search index...

    Function atomicWrite

    • Performs an atomic file write using an isolated temporary file followed by atomic rename. Retries on transient Windows EPERM/EBUSY errors.

      Parameters

      • file: string

        Target destination file path.

      • text: string

        File content string to persist.

      Returns Promise<void>