cautious-file-0.1.2: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures
It is recommended to write
import Prelude hiding (writeFile)
when importing this module.
writeFile :: FilePath -> String -> IO ()Source
writeFileWithBackup :: IO () -> FilePath -> String -> IO ()Source
Backs up the old version of the file with backup. backup must not fail if there is no
old version of the file.
Produced by Haddock version 2.8.1