Atomicity of file-copying/moving

FreeSlave via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 16 03:57:08 PDT 2017


On Tuesday, 16 May 2017 at 08:32:56 UTC, Nordlöw wrote:
> What's the status of atomicity of file-copying and -moving 
> (renaming) using std.file on different platforms?

Not sure about renaming but copying is not atomic on Posix 
because it does not handle interruption by signal. I opened issue 
about that https://issues.dlang.org/show_bug.cgi?id=17296


More information about the Digitalmars-d-learn mailing list