1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-02-03 04:56:48 +00:00
restic/internal
Michael Eischer 736e964317 archiver: Don't loose error if background context is canceled
A canceled background context lets the blob/tree/fileSavers exit
without reporting an error. The error handling previously replaced
a 'context canceled' error received by the main backup method with
the error reported by the savers. However, in case of a canceled
background context that error is nil, causing restic to loose the
error and save a snapshot with a nil tree.
2020-12-28 21:06:47 +01:00
..
archiver archiver: Don't loose error if background context is canceled 2020-12-28 21:06:47 +01:00
backend Don't retry when "Permission denied" occurs in local backend 2020-12-22 23:41:12 +01:00
cache
checker check: remove file size counter 2020-12-23 02:34:31 +01:00
crypto
debug
dump Deduplicate dumper closing logic 2020-12-19 02:42:46 +03:00
errors Don't retry when "no space left on device" in local backend 2020-12-17 12:43:09 +01:00
filter
fs
fuse fuse: Properly set uid/gid for directories 2020-11-30 23:41:49 +01:00
hashing
limiter
migrations Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
mock
options Some options fixes 2020-12-23 23:26:04 +03:00
pack Make BlobHandle substruct of Blob 2020-11-22 20:41:10 +01:00
repository repository: tweak comment for packs method 2020-12-22 23:01:58 +01:00
restic Count packs directly in RebuildIndexFiles 2020-12-22 23:01:58 +01:00
restorer Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
selfupdate
test
textfile
ui ui/progress: Use mutex instead of atomic 2020-12-22 21:03:27 +01:00
walker