files cache with size
This is trying to prepare a bigger change in how borg works: giving up with precise refcounting and removing chunk size information from the chunks index/cache (so borg could just work with the set of existing chunks with no further information about them in the chunks index/cache).
A first step into that direction is adding the chunk sizes to the files cache (it currently only has the chunk ids).
If borg create detects a file is unchanged, we need to have that information at hand to create the item's chunk list without reading/chunking the file.
AdHocWithFilesCache tries to be similar to AdHocCache, but additionally has the files cache, so it is super fast for unchanged files. AdHocCache is DEPRECATED now.
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 80.97686% with 74 lines in your changes missing coverage. Please review.
Project coverage is 81.61%. Comparing base (
126a346) to head (619a06a). Report is 3 commits behind head on master.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## master #7846 +/- ##
==========================================
- Coverage 83.76% 81.61% -2.16%
==========================================
Files 67 67
Lines 12074 12156 +82
Branches 2193 2192 -1
==========================================
- Hits 10114 9921 -193
- Misses 1367 1649 +282
+ Partials 593 586 -7
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.