Durability of file writes with the help of fsync() syscall
Atomicity of file writes with the help of atomic renames with
rename(), renameat() and linkat() syscalls
Anonymous temp file utilization on Linux for atomic writes with the
help of openat() and O_TMPFILE
@snoyberg The whole PR from commercialhaskell/rio#167 was transfered here almost verbatim, with an exception of some renames and haddock adjustments. The new module UnliftIO.IO.File is very heavy on haddock, therefore I though it be better to have it as a separate module, rather than cramming everything into UnliftIO.IO.
fsync()
syscallrename()
,renameat()
andlinkat()
syscallsopenat()
andO_TMPFILE
@snoyberg The whole PR from commercialhaskell/rio#167 was transfered here almost verbatim, with an exception of some renames and haddock adjustments. The new module
UnliftIO.IO.File
is very heavy on haddock, therefore I though it be better to have it as a separate module, rather than cramming everything intoUnliftIO.IO
.CC @nh2 (Thanks for review and guidance)