mirror of
https://github.com/octoleo/restic.git
synced 2024-12-27 12:42:49 +00:00
673dda77c0
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. |
||
---|---|---|
.. | ||
backend_test.go | ||
backend.go | ||
cache.go | ||
dir_test.go | ||
dir.go | ||
file_test.go | ||
file.go | ||
testing.go |