Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- atomicWriteFile :: FilePath -> ByteString -> IO ()
Documentation
:: 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.