Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
System.AtomicWrite.Writer.LazyByteString
- atomicWriteFile :: FilePath -> ByteString -> IO ()
Documentation
Arguments
:: FilePath | The path where the file will be updated or created |
-> ByteString | The content to write to the file |
-> IO () |
Creates a file atomically on POSIX-compliant systems while preserving permissions.