restic/internal/cache
greatroar da419be43c cache: Restructure New to remove redundant operations
New and its helpers used to create the cache directories several times
over. They now only do so once. The added test ensures that the cache is
produced in a consistent state when parts are deleted.
2023-05-27 10:32:08 +02:00
..
backend_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
backend.go cache: Drop cache entry if it cannot be processed 2022-09-25 11:55:09 +02:00
cache_test.go cache: Restructure New to remove redundant operations 2023-05-27 10:32:08 +02:00
cache.go cache: Restructure New to remove redundant operations 2023-05-27 10:32:08 +02:00
dir_test.go
dir.go Honor RESTIC_CACHE_DIR environment variable 2021-10-10 16:00:02 +02:00
file_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
file.go cache: Replace readCloser+LimitedReader by backend.LimitedReadCloser 2023-01-03 19:03:36 +01:00
testing.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00