diff options
author | Théophane Hufschmitt <theophane.hufschmitt@tweag.io> | 2022-04-13 14:48:31 +0200 |
---|---|---|
committer | Théophane Hufschmitt <theophane.hufschmitt@tweag.io> | 2022-08-03 10:27:25 +0200 |
commit | 1ba5b3e001c3da3c2e2a4dc7d475da1b20f53638 (patch) | |
tree | 78fd0e04322a2dbfc429b31cfaccb9661d932755 /src/libutil/config.hh | |
parent | 90f968073338d6ba276994bc281fa5efa5306e17 (diff) |
Make `moveFile` more atomic
Rather than directly copying the source to its dest, copy it first to a
temporary location, and eventually move that temporary.
That way, the move is at least atomic from the point-of-view of the destination
Diffstat (limited to 'src/libutil/config.hh')
0 files changed, 0 insertions, 0 deletions