autorestic/internal
Gavin Chappell 389f7c25dd refactor downloading of binaries
* If `/tmp` is a `tmpfs` or somehow not the same filesystem, `os.Rename()` will fail so use `io.Copy()` instead
* don't defer cleanup of `to` as this removes the newly-created file if the operation is successful, making `install` and `upgrade` _functionally_ `uninstall`
* defer cleanup of the temporary file since it will still be in place if `os.Rename()` fails

Fixes: #130
2021-11-20 19:30:46 +00:00
..
bins refactor downloading of binaries 2021-11-20 19:30:46 +00:00
colors describe backends 2021-04-17 12:02:00 +02:00
lock exit with better message 2021-04-17 20:51:40 +02:00
metadata env for hooks 2021-10-26 15:57:40 +02:00
terminal go rewrite 2021-04-09 01:55:10 +02:00
backend.go also enable azure and google cloud 2021-11-01 00:19:32 +01:00
config.go migration docs 2021-11-20 17:09:42 +01:00
cron.go make back compatible 2021-04-16 22:02:25 +02:00
location.go tags 2021-11-07 11:48:03 +01:00
utils.go remove output 2021-10-31 23:58:08 +01:00