1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-26 09:47:49 +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.go check: Merge 'size could not be found' and 'not found in index' errors 2020-11-15 18:41:50 +01:00
checker_test.go Stop Counters where they're constructed and started 2020-11-09 13:03:31 +01:00
testing.go Stop Counters where they're constructed and started 2020-11-09 13:03:31 +01:00