On Wednesday, 17 May 2017 at 20:02:44 UTC, Per Nordlöw wrote:
The standard way is to copy the source to a temporary file on the same file system as the target file followed by hardlinkingCorrection: should be renaming.
Here's an implementation in Python (3): https://github.com/nordlow/containerize/blob/1dbcf57c1240882f8492f261962df0dfaa4edecb/containerize.py#L132 I would like to have it in D too. Any advice regarding the port?