2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal
greatroar e5f0f67ba0 Modernize error handling in local backend
* Stop prepending the operation name: it's already part of os.PathError,
  leading to repetitive errors like "Chmod: chmod /foo/bar: operation not
  permitted".

* Use errors.Is to check for specific errors.
2021-06-18 11:13:27 +02:00
..
archiver Merge pull request #3243 from restic/fix-scanner-overlap 2021-01-30 21:17:21 +01:00
backend Modernize error handling in local backend 2021-06-18 11:13:27 +02:00
cache Add more error handling 2021-01-30 20:19:47 +01:00
checker Address issues reported by golint 2021-01-30 20:45:57 +01:00
crypto crypto: Remove unused error 2020-09-05 10:07:16 +02:00
debug Allow debug logging to pipes and terminals 2020-10-19 22:30:30 +02:00
dump Add more error handling 2021-01-30 20:19:47 +01:00
errors Modernize error handling in local backend 2021-06-18 11:13:27 +02:00
filter filter: Fix crash for '**' pattern 2021-05-14 23:50:31 +02:00
fs Add more error handling 2021-01-30 20:19:47 +01:00
fuse Address issues reported by golint 2021-01-30 20:45:57 +01:00
hashing errcheck: Add error checks 2021-01-30 20:02:37 +01:00
limiter Simplify internal/limiter 2021-04-24 11:54:43 +02:00
migrations Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
mock Add more error handling 2021-01-30 20:19:47 +01:00
options Some options fixes 2020-12-23 23:26:04 +03:00
pack Address issues reported by golint 2021-01-30 20:45:57 +01:00
repository Address review comments 2021-01-30 20:02:37 +01:00
restic Add more error handling 2021-01-30 20:19:47 +01:00
restorer Merge pull request #3362 from greatroar/darwin-preallocate 2021-04-10 22:47:56 +02:00
selfupdate self-update: Don't cancel download after 30 seconds 2019-02-23 11:15:18 +01:00
test Add more error handling 2021-01-30 20:19:47 +01:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui Add test to mintty pipe detection 2021-04-11 20:02:09 +02:00
walker errcheck: More error handling 2021-01-30 20:02:37 +01:00