1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-25 01:06:39 +00:00
restic/internal/cache
Michael Eischer 97a307df1a cache: Always use cached file if it exists
A file is always cached whole. Thus, any out of bounds access will also
fail when directed at the backend. To handle case in which the cached
file is broken, then caller must call Cache.Forget(h) for the file in
question.
2024-05-18 21:28:54 +02:00
..
backend.go cache: Always use cached file if it exists 2024-05-18 21:28:54 +02:00
backend_test.go repository: move backend.LoadAll to repository.LoadRaw 2024-05-18 21:26:00 +02:00
cache.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
cache_test.go cache: Restructure New to remove redundant operations 2023-05-27 10:32:08 +02:00
dir.go Honor RESTIC_CACHE_DIR environment variable 2021-10-10 16:00:02 +02:00
dir_test.go Add more error handling 2021-01-30 20:19:47 +01:00
file.go cache: Always use cached file if it exists 2024-05-18 21:28:54 +02:00
file_test.go cache: Always use cached file if it exists 2024-05-18 21:28:54 +02:00
testing.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00