2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-02 09:58:25 +00:00
restic/internal/selfupdate
Matt LaPlante 0ba9d4ced7 Refactor file handing for self-update.
* Write new file payload to a temp file before touching the original
binary. Minimizes the possibility of failing mid-write and corrupting
the binary.
* On Windows, move the original binary out to a temp file rather than
removing it as the running binary is locked. Fixes issue #2248.
2022-04-09 21:40:33 +02:00
..
download_unix.go Refactor file handing for self-update. 2022-04-09 21:40:33 +02:00
download_windows.go Refactor file handing for self-update. 2022-04-09 21:40:33 +02:00
download.go Refactor file handing for self-update. 2022-04-09 21:40:33 +02:00
github.go self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
verify.go Add 'self-update' command 2018-08-12 23:34:47 +02:00