cautious-file-1.0: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures

System.Posix.ByteLevel

Synopsis

Documentation

writeAllB :: Fd -> ByteString -> IO ()Source

Write the entire contents of the strict bytestring. Assumes blocking mode.

writeAllL :: Fd -> ByteString -> IO ()Source

Write the entire contents of the lazy bytestring. Assumes blocking mode.