atomic-write-0.1.0.1: Atomically write to a file

Copyright(c) 2015 Stack Builders Inc.
LicenseMIT
Maintainerjustin@stackbuilders.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.AtomicWrite

Description

A library for atomically modifying files while preserving permissions

Synopsis

Documentation

atomicWriteFile Source

Arguments

:: FilePath

The path where the file will be updated or created

-> String

The content to write to the file

-> IO () 

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