Atomically write to a file
Atomically write to a file on POSIX-compliant systems while preserving permissions. mv
is an atomic operation. This makes it simple to write to a file atomically just by using the mv
operation. However, this will destroy the permissions on the original file. This library preserves permissions while atomically writing to a file.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/1fkjhqcy2c5mw9k4yp39szycsv63r1wz-ghc-atomic-write-0.2.0.6.drv | ||
mips64el-linux | /gnu/store/bczzj2m4ki7hdqimajds4d6b9klfkr4v-ghc-atomic-write-0.2.0.6.drv | ||
i686-linux | /gnu/store/apkhs8p3v933x166wd34szp7slicj4kq-ghc-atomic-write-0.2.0.6.drv | ||
armhf-linux | /gnu/store/rlr0y1viyk7b34dqswxhasi4lsz59qxh-ghc-atomic-write-0.2.0.6.drv | ||
aarch64-linux | /gnu/store/jfpkq15wdz5wc5hfymdmfrj2rcsgv6jl-ghc-atomic-write-0.2.0.6.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |