restic/internal/archiver
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.go internal/restic: Don't allocate in Tree.Insert 2021-09-26 18:08:48 +02:00
archiver_test.go all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
archiver_unix_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
archiver_windows_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
blob_saver.go Rename Index interface to MasterIndex 2020-07-25 21:19:46 +02:00
blob_saver_test.go archiver: Remove unused variable from test 2020-09-05 10:07:16 +02:00
buffer.go archiver: Remove cleanup goroutine from BufferPool 2022-05-29 17:09:16 +02:00
doc.go archiver: Add high-level documentation 2018-05-12 23:55:54 +02:00
file_saver.go all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
file_saver_test.go archiver: Fix race condition triggered by TestArchiverAbortEarlyOnError 2020-04-13 18:23:17 +02:00
scanner.go backup/scanner: Fix total size for overlapping targets 2021-01-29 11:31:36 +01:00
scanner_test.go backup/scanner: Fix total size for overlapping targets 2021-01-29 11:31:36 +01:00
testing.go archiver: Fix test 2022-03-28 22:09:49 +02:00
testing_test.go Move internal/fs.TestChdir to internal/test.Chdir 2020-09-17 10:43:33 +02:00
tree.go archiver/tree: Introduce functions Leaf() and NodeNames() 2021-01-29 11:11:28 +01:00
tree_saver.go internal/restic: Don't allocate in Tree.Insert 2021-09-26 18:08:48 +02:00
tree_saver_test.go backup: Fix reporting of directory count in summary 2020-08-27 22:43:51 +02:00
tree_test.go Remove a few redundant type specifiers 2020-10-06 14:55:13 +02:00