Simplify and comment TempFile implementation for windows

This commit is contained in:
Michael Eischer committed 2022-04-09 23:37:58 +02:00
1 parent 9e34c791c9
commit 9a3f1a9703
2 files changed
+40 -41

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
Enhancement: Improve handling of temporary files on Windows
In some cases restic failed to delete temporary files causing the current
command to fail. This has been fixed by ensuring that Windows automatically
deletes the file. In addition, temporary files are only written to disk if
necessary to reduce disk writes.
https://github.com/restic/restic/issues/3465
https://github.com/restic/restic/issues/1551
https://github.com/restic/restic/pull/3610