2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 18:15:20 +00:00
restic/internal
Michael Eischer e886c3f6b2 archiver: improve error message for irregular files
Since Go 1.21, most reparse points are considered as irregular files.
Depending on the underlying driver these can exhibit nearly arbitrary
behavior. When encountering such a file, restic returned an
indecipherable error message: `error: invalid node type ""`.

Add the filepath to the error message and state that the file type is
not supported.
2024-01-08 21:33:05 +01:00
..
archiver archiver: improve error message for irregular files 2024-01-08 21:33:05 +01:00
backend Merge pull request #4480 from AgathaSorceress/add-rest-auth-env 2023-10-21 17:41:08 +00:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache Merge pull request #4343 from greatroar/cache 2023-06-02 22:41:17 +02:00
checker check: Suggest usage of restic repair packs for corrupted blobs 2023-10-23 18:36:28 +02:00
crypto Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
debug Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
dump dump: Rewrite Linux ACL handling 2023-08-13 13:37:11 +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 Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
fuse CI: update golangci-lint 2024-01-08 21:33:05 +01:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index check: add index loading progress bar 2023-10-01 19:55:29 +02:00
migrations restic: generic implemention of AsBackend 2023-07-22 19:55:44 +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 doc: Correct two typos 2023-10-27 19:48:00 +02:00
restic archiver: improve error message for irregular files 2024-01-08 21:33:05 +01:00
restorer Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test test: use standard logging methods from testing for the test helpers 2023-05-26 19:34:57 +02:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui Tweak restore summary 2023-09-20 10:59:55 +02:00
walker Use _ as parameter name for unused Context 2023-05-18 21:15:45 +02:00