aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/serialise.cc
diff options
context:
space:
mode:
authorThéophane Hufschmitt <theophane.hufschmitt@tweag.io>2022-04-13 14:48:31 +0200
committerThéophane Hufschmitt <theophane.hufschmitt@tweag.io>2022-08-03 10:27:25 +0200
commit1ba5b3e001c3da3c2e2a4dc7d475da1b20f53638 (patch)
tree78fd0e04322a2dbfc429b31cfaccb9661d932755 /src/libutil/serialise.cc
parent90f968073338d6ba276994bc281fa5efa5306e17 (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/serialise.cc')
0 files changed, 0 insertions, 0 deletions