2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 05:12:10 +00:00
restic/internal/cache
greatroar 673dda77c0 Less repetitive error messages in internal/cache
Many instances of errors.Wrap in this package would produce messages
like "Open: open <filename>: no such file or directory"; those now omit
the first "Open:" (or "Stat:", or "MkdirAll"). The function readVersion
now appends its own name to the error message, rather than the function
that failed, to make it easier to spot. Other function names (e.g.,
Load) are already added further up in the call chain.
2020-10-05 20:28:54 +02:00
..
backend_test.go Add []byte to repo.LoadAndDecrypt and utils.LoadAll 2019-04-13 13:38:39 +02:00
backend.go Remove restic.Cache interface 2020-09-18 10:48:13 +02:00
cache.go Less repetitive error messages in internal/cache 2020-10-05 20:28:54 +02:00
dir_test.go Honor RESTIC_CACHE_DIR on Mac and Windows 2020-02-28 15:44:32 +01:00
dir.go Simplify cache directory creation 2020-10-05 10:46:45 +02:00
file_test.go Remove restic.Cache interface 2020-09-18 10:48:13 +02:00
file.go Less repetitive error messages in internal/cache 2020-10-05 20:28:54 +02:00
testing.go Add cache 2017-09-24 21:54:53 +02:00