2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 14:17:42 +00:00
restic/internal
greatroar d4aadfa389 all: Drop ctxhttp
This package is no longer needed, since we can use the stdlib's
http.NewRequestWithContext.

backend/rclone already did, but it needed a different error check due to
a difference between net/http and ctxhttp.

Also, store the http.Client by value in the REST backend (changed to a
pointer when ctxhttp was introduced) and use errors.WithStack instead
of errors.Wrap where the message was no longer accurate. Errors from
http.NewRequestWithContext will start with "net/http" or "net/url", so
they're easy to identify.
2022-10-14 14:33:49 +02:00
..
archiver Merge pull request #3880 from MichaelEischer/archiver-savedir-cleanup 2022-10-08 21:48:14 +02:00
backend all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
bloblru bloblru: Fix comment for New function 2022-03-28 22:25:25 +02:00
cache cache: Fix file descriptor leak in TestBackendRemoveBroken 2022-10-03 00:06:44 +02:00
checker repository: split index into a separate package 2022-10-08 21:15:34 +02:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
dump repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
errors errors: Drop Cause in favor of Go 1.13 error handling 2022-10-08 13:08:08 +02:00
filter filter: deduplicate error handling for pattern validation 2022-09-09 23:12:41 +02:00
fs Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
fuse fuse: remove unused context parameter 2022-08-26 20:48:48 +02:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
index repository: split index into a separate package 2022-10-08 21:15:34 +02:00
migrations migrate: Report why an migration cannot be applied 2022-09-03 11:49:31 +02:00
options Don't crash if SecretString is uninitialized 2022-07-02 19:44:28 +02:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository repository: split index into a separate package 2022-10-08 21:15:34 +02:00
restic backup: Only return a warning for duplicate directory entries 2022-10-08 21:38:21 +02:00
restorer restore: support sparse restores also on windows 2022-09-24 21:39:39 +02:00
selfupdate all: Drop ctxhttp 2022-10-14 14:33:49 +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 archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
walker repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00