2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-17 00:02:49 +00:00
restic/internal/backend/local
Michael Eischer c73316a111 backends: add sanity check for the uploaded file size
Bugs in the error handling while uploading a file to the backend could
cause incomplete files, e.g. https://github.com/golang/go/issues/42400
which could affect the local backend.

Proactively add sanity checks which will treat an upload as failed if
the reported upload size does not match the actual file size.
2021-01-29 13:51:51 +01:00
..
config.go Run goimports 2017-07-23 14:21:03 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
layout_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
local_internal_test.go Don't retry when "no space left on device" in local backend 2020-12-17 12:43:09 +01:00
local_test.go Wire context into backend layout detection 2020-10-09 22:37:24 +02:00
local_unix.go local: mark repository files as read-only 2020-10-07 12:29:37 +02:00
local_windows.go local: mark repository files as read-only 2020-10-07 12:29:37 +02:00
local.go backends: add sanity check for the uploaded file size 2021-01-29 13:51:51 +01:00