restic/internal/cache
Michael Eischer 0747cf5319 cache: ignore ErrNotExist during cleanup of old files
Two restic processes running concurrently can try to remove the same
files from the cache. This could cause one process to fail with an error
if the other one has already remove a file that the current process also
tries to delete.
2024-04-10 19:25:51 +02:00
..
backend.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
backend_test.go move Backend interface to backend package 2023-10-25 23:00:18 +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: ignore ErrNotExist during cleanup of old files 2024-04-10 19:25:51 +02:00
file_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
testing.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00