2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 03:18:55 +00:00
restic/internal/repository
Michael Eischer 5773b86d02 repository: Push all usage of errors.Fatal out of the package
As the `Fatal` error type only includes a string, it becomes impossible
to inspect the contained error. This is for a example a problem for the
fuse implementation, which must be able to detect context.Canceled
errors.

Co-authored-by: greatroar <61184462+greatroar@users.noreply.github.com>
2023-05-18 17:27:41 +02:00
..
testdata internal/repository: Fix LoadBlob + fuzz test 2022-06-06 17:02:28 +02:00
doc.go gofmt all files 2022-08-19 19:12:26 +02:00
fuzz_test.go repository: Remove empty cleanup functions in tests 2022-12-11 11:06:25 +01:00
key.go repository: Push all usage of errors.Fatal out of the package 2023-05-18 17:27:41 +02:00
packer_manager_test.go add option for setting min pack size 2022-08-05 23:47:12 +02:00
packer_manager.go all: Replace some errors.Wrap calls by errors.WithStack 2022-12-17 09:41:07 +01:00
packer_uploader.go repository: Rework blob saving to use an async pack uploader 2022-07-02 22:42:34 +02:00
repack_test.go repository: Remove empty cleanup functions in tests 2022-12-11 11:06:25 +01:00
repack.go repository: Push all usage of errors.Fatal out of the package 2023-05-18 17:27:41 +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: Reuse buffers in Repository.LoadUnpacked 2023-01-30 22:01:01 +01:00
repository.go repository: Push all usage of errors.Fatal out of the package 2023-05-18 17:27:41 +02:00
testing.go repository: properly return invalid data error in LoadUnpacked 2023-01-14 17:57:02 +01:00