1
0
mirror of https://github.com/restic/restic.git synced 2024-06-22 07:26:38 +02:00
restic/internal/cache
Alexander Neumann e1dfaf5d87 cache: Allow proactive caching of tree packs
This commit adds a function to the cache which can decide to proactively
load the complete pack file and store it in the cache. This is helpful
for pack files containing only tree blobs, as it is likely that the same
file is accessed again in the future.
2017-09-24 23:11:23 +02:00
..
backend_test.go Add cache 2017-09-24 21:54:53 +02:00
backend.go cache: Allow proactive caching of tree packs 2017-09-24 23:11:23 +02:00
cache.go cache: Add PerformReadahead 2017-09-24 23:11:23 +02:00
dir.go Add cache 2017-09-24 21:54:53 +02:00
file_test.go Add cache 2017-09-24 21:54:53 +02:00
file.go Add cache 2017-09-24 21:54:53 +02:00
testing.go Add cache 2017-09-24 21:54:53 +02:00