HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleatomic-write-0.2.1.1Haskell2010

System.AtomicWrite.Writer.String

Provides functionality to dump the contents of a String to a file.

  • 4 values
valueatomicWriteFile
  1. :: FilePath

    The path where the file will be updated or created

  2. -> String

    The content to write to the file

  3. -> IO ()
#

Creates or modifies a file atomically on POSIX-compliant systems while preserving permissions.

valueatomicWriteFileWithMode
  1. :: FileMode

    The mode to set the file to

  2. -> FilePath

    The path where the file will be updated or created

  3. -> String

    The content to write to the file

  4. -> IO ()
#

Creates or modifies a file atomically on POSIX-compliant systems and updates permissions