natefinch / atomic

atomic is a go package for atomic file writing
MIT License
200 stars 12 forks source link

WriteFile(): fsync(2) after write(2) #14

Closed Al2Klimov closed 3 years ago

Al2Klimov commented 3 years ago

fixes #5 closes #10

Al2Klimov commented 3 years ago

Hi @natefinch!

What about this one or #10? IMAO one of them is required for this to be atomic.

Best, AK

natefinch commented 3 years ago

I'll take a look tonight, thanks!

On Sat, Jun 26, 2021, 12:36 PM Alexander Aleksandrovič Klimov < @.***> wrote:

Hi @natefinch https://github.com/natefinch!

What about this one or #10 https://github.com/natefinch/atomic/pull/10? IMAO one of them is required for this to be atomic.

Best, AK

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/natefinch/atomic/pull/14#issuecomment-869027337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYJZSA4EYLC22LSCHCW3RDTUX62JANCNFSM466OMURA .