mirror of https://github.com/restic/restic.git
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.go | ||
backend_test.go | ||
cache.go | ||
dir.go | ||
dir_test.go | ||
file.go | ||
file_test.go | ||
testing.go |