mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
5b96fd5b81
This is better than doing CopyFileIfDifferent() followed by RemoveFile() in two ways: - it is more efficient, as it avoids disk I/O for the data, even if the files here are usually small - it is atomic, so an abort during the copy will not leave a destination file with partial data behind
3.4 KiB
3.4 KiB