restic/internal/repository
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
..
testdata internal/repository: Fix LoadBlob + fuzz test 2022-06-06 17:02:28 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
fuzz_test.go internal/repository: Fix LoadBlob + fuzz test 2022-06-06 17:02:28 +02:00
index.go repository: Increase index size for repo version 2 2022-04-30 11:34:10 +02:00
index_parallel.go repository: Remove RunWorkers, report ctx.Err() 2022-05-10 22:26:00 +02:00
index_parallel_test.go repository: Add test for ForAllIndexes 2020-12-22 22:36:18 +01:00
index_test.go repository: test uncompressedLength field and index example 2022-04-30 11:34:10 +02:00
indexmap.go repository: Re-tune indexmap allocation strategy 2022-05-11 21:22:14 +02:00
indexmap_test.go repository: implement pack compression 2022-04-30 11:34:10 +02:00
key.go all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
master_index.go repository: Remove RunWorkers, report ctx.Err() 2022-05-10 22:26:00 +02:00
master_index_test.go repository: test uncompressedLength field and index example 2022-04-30 11:34:10 +02:00
packer_manager.go Fix error on temp file deletion on windows 2022-05-09 22:43:26 +02:00
packer_manager_test.go repository: implement pack compression 2022-04-30 11:34:10 +02:00
repack.go repository: Reduce repack workers to prevent deadlock 2022-04-23 11:28:18 +02:00
repack_test.go repository: run blackbox tests using old and new repo version 2022-04-30 11:34:10 +02:00
repository.go internal/repository: Fix LoadBlob + fuzz test 2022-06-06 17:02:28 +02:00
repository_internal_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
repository_test.go repository: Test compressed blobs in StreamPack 2022-04-30 11:34:10 +02:00
testing.go repository: run blackbox tests using old and new repo version 2022-04-30 11:34:10 +02:00