2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 03:18:55 +00:00
restic/internal
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
..
archiver Rename 'rebuild-index' to 'repair index' 2023-05-01 15:16:44 +02:00
backend rest/sftp: Remove redundant fatal from error message 2023-05-18 17:22:26 +02:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache Cancel current command if cache becomes unusable 2023-04-23 11:31:15 +02:00
checker check: Fix flaky TestCheckerModifiedData 2023-05-01 17:18:19 +02:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug mount: enable debug logging for the flaky TestMount test 2023-05-01 18:03:17 +02:00
dump dump: Report filename with tar.ErrFieldTooLong 2023-04-27 11:45:41 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs all: Replace some errors.Wrap calls by errors.WithStack 2022-12-17 09:41:07 +01:00
fuse Merge pull request #4255 from greatroar/fuse-hash 2023-04-07 12:56:57 +02:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index repository: Reuse buffers in Repository.LoadUnpacked 2023-01-30 22:01:01 +01:00
migrations migrations: Fix S3 backend detection 2023-04-14 22:32:16 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository repository: Push all usage of errors.Fatal out of the package 2023-05-18 17:27:41 +02:00
restic backup: return normal error if --group-by cannot be parsed 2023-05-18 17:23:31 +02:00
restorer restore: Add basic test for progress bar accounting of hardlinks 2023-05-08 20:51:49 +02:00
selfupdate self-update: add basic test for extractToFile 2023-01-22 15:39:42 +01:00
test test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui ui/termstatus: Add test for Terminal.SetStatus 2023-05-05 22:51:41 +02:00
walker walker: extend TreeRewriter to support snapshot repairing 2023-05-01 15:20:24 +02:00