1
0
mirror of https://github.com/restic/restic.git synced 2024-06-30 08:20:55 +02:00
restic/internal
Michael Eischer 95a1bb4261 restic: Rework error handling of FindFilteredSnapshots and handle snapshotIDs
FindFilteredSnapshots no longer prints errors during snapshot loading on
stderr, but instead passes the error to the callback to allow the caller
to decide on what to do.

In addition, it moves the logic to handle an explicit snapshot list from
the main package to restic.
2022-10-15 13:31:26 +02:00
..
archiver internal/archiver: Missing argument to errors.Errorf 2022-10-14 14:18:52 +02:00
backend all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
bloblru bloblru: Fix comment for New function 2022-03-28 22:25:25 +02:00
cache cache: Fix file descriptor leak in TestBackendRemoveBroken 2022-10-03 00:06:44 +02:00
checker internal/checker: Pass Error.Error pointer receiver 2022-10-14 14:13:32 +02:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
dump repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter filter: deduplicate error handling for pattern validation 2022-09-09 23:12:41 +02:00
fs Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
fuse restic: Rework error handling of FindFilteredSnapshots and handle snapshotIDs 2022-10-15 13:31:26 +02:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
index repository: split index into a separate package 2022-10-08 21:15:34 +02:00
migrations migrate: Report why an migration cannot be applied 2022-09-03 11:49:31 +02:00
options Don't crash if SecretString is uninitialized 2022-07-02 19:44:28 +02:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository repository: split index into a separate package 2022-10-08 21:15:34 +02:00
restic restic: Rework error handling of FindFilteredSnapshots and handle snapshotIDs 2022-10-15 13:31:26 +02:00
restorer restore: support sparse restores also on windows 2022-09-24 21:39:39 +02:00
selfupdate all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
test all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
textfile
ui Merge pull request #3959 from MichaelEischer/buffered-backup-progress 2022-10-15 10:57:19 +02:00
walker walker: Convert tests to use TreeJSONBuilder 2022-10-15 11:04:13 +02:00