restic/internal/cache
Michael Eischer ce902aac67 cache: Just try to open cache entry without calling stat first
Instead of first checking whether a file is in the repository cache and
then opening it, we just can open the file. This saves one stat call. If
the file is in the cache, everything is fine and otherwise the code
follows its normal fallback path.
2022-08-19 20:59:06 +02:00
..
backend.go cache: Just try to open cache entry without calling stat first 2022-08-19 20:59:06 +02:00
backend_test.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
cache.go cache: Don't Lstat before creating the tag file 2022-05-10 18:52:39 +02:00
dir.go Honor RESTIC_CACHE_DIR environment variable 2021-10-10 16:00:02 +02:00
dir_test.go
file.go cache: Just try to open cache entry without calling stat first 2022-08-19 20:59:06 +02:00
file_test.go
testing.go