[Issue 11631] std.file.rename doesn't work across different mount points

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 18 18:23:28 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=11631

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dlang-bugzilla at thecybershad
                   |                            |ow.net
         Resolution|---                         |INVALID

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Having the operation be atomic and NOT copy the file contents is a desirable
property in many circumstances. As such, this is not a bug.

Adding std.file.move which tries rename and falls back to copy would be a
reasonable enhancement, though.

--


More information about the Digitalmars-d-bugs mailing list