restic/internal/cache
Michael Eischer 9aa2eff384 Add plumbing to calculate backend specific file hash for upload
This enables the backends to request the calculation of a
backend-specific hash. For the currently supported backends this will
always be MD5. The hash calculation happens as early as possible, for
pack files this is during assembly of the pack file. That way the hash
would even capture corruptions of the temporary pack file on disk.
2021-08-04 22:17:46 +02:00
..
backend.go Replace duplicate type checking in cache with a function 2021-08-04 22:02:42 +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 Modernize internal/cache error handling 2021-08-04 22:02:42 +02:00
dir.go Simplify cache directory creation 2020-10-05 10:46:45 +02:00
dir_test.go Add more error handling 2021-01-30 20:19:47 +01:00
file.go Modernize internal/cache error handling 2021-08-04 22:02:42 +02:00
file_test.go Save cached files to a temporary location first 2021-08-04 22:02:42 +02:00
testing.go Add cache 2017-09-24 21:54:53 +02:00