2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/checker
Michael Eischer b8c7543a55 check: Merge 'size could not be found' and 'not found in index' errors
By construction these two errors always show up in pairs: 'size could
not be found' is printed when the blob is not found in the repository
index. That blob is also part of the `blobs` array. Later on, check
iterates over that array and checks whether the blob is marked as
existing. Which cannot be the case as that mark is generated by
iterating over the repository index.

The merged warning no longer reports the blob index within a file. That
information could also be derived by printing the affected tree using
`cat` and searching for the blob.
2020-11-15 18:41:50 +01:00
..
testdata Moves files 2017-07-23 14:19:13 +02:00
checker_test.go Stop Counters where they're constructed and started 2020-11-09 13:03:31 +01:00
checker.go check: Merge 'size could not be found' and 'not found in index' errors 2020-11-15 18:41:50 +01:00
testing.go Stop Counters where they're constructed and started 2020-11-09 13:03:31 +01:00