restic/internal
greatroar f92ecf13c9 all: Move away from pkg/errors, easy cases
github.com/pkg/errors is no longer getting updates, because Go 1.13
went with the more flexible errors.{As,Is} function. Use those instead:
errors from pkg/errors already support the Unwrap interface used by 1.13
error handling. Also:

* check for io.EOF with a straight ==. That value should not be wrapped,
  and the chunker (whose error is checked in the cases changed) does not
  wrap it.
* Give custom Error methods pointer receivers, so there's no ambiguity
  when type-switching since the value type will no longer implement error.
* Make restic.ErrAlreadyLocked private, and rename it to
  alreadyLockedError to match the stdlib convention that error type
  names end in Error.
* Same with rest.ErrIsNotExist => rest.notExistError.
* Make s3.Backend.IsAccessDenied a private function.
2022-06-14 08:36:38 +02:00
..
archiver all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
backend all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
bloblru bloblru: Fix comment for New function 2022-03-28 22:25:25 +02:00
cache cache: Don't Lstat before creating the tag file 2022-05-10 18:52:39 +02:00
checker all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
crypto crypto: Remove unused error 2020-09-05 10:07:16 +02:00
debug add go:build headers everywhere 2022-03-28 22:23:47 +02:00
dump Refactor internal/dump + concurrent load/write 2021-11-01 23:01:55 +01:00
errors all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
filter Add tests for validating exclude patterns 2022-05-11 22:41:00 +02:00
fs Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
fuse copy/find/ls/recover/stats: Memorize snapshot listing before index 2022-04-09 12:26:30 +02:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
limiter golangci-lint: replace deprecated golint with revive 2022-03-28 22:33:17 +02:00
migrations migrate: Cleanup option to request repository check 2022-06-04 23:45:00 +02:00
mock upgrade_repo_v2: Use atomic replace for supported backends 2022-05-09 22:31:30 +02:00
options Some `options` fixes 2020-12-23 23:26:04 +03:00
pack pack: slightly expand testing of compressed blobs 2022-04-30 11:34:10 +02:00
repository all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
restic all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
restorer repository: implement pack compression 2022-04-30 11:34:10 +02:00
selfupdate Refactor file handing for self-update. 2022-04-09 21:40:33 +02:00
test all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui golangci-lint: replace deprecated golint with revive 2022-03-28 22:33:17 +02:00
walker Limit number of large tree blobs loaded in parallel by StreamTrees 2022-02-19 12:26:09 +01:00