November 18, 2019 [Issue 11631] std.file.rename doesn't work across different mount points | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11631 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@d-ecke.de --- Comment #1 from berni44 <bugzilla@d-ecke.de> --- Adding a bug note: https://github.com/dlang/phobos/pull/7288 -- |
November 18, 2019 [Issue 11631] std.file.rename doesn't work across different mount points | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11631 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dlang-bugzilla@thecybershad | |ow.net Resolution|--- |INVALID --- Comment #2 from Vladimir Panteleev <dlang-bugzilla@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. -- |
Copyright © 1999-2021 by the D Language Foundation