2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 02:48:55 +00:00
restic/internal
Michael Eischer 6b79834cc8 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-06 19:03:11 +01:00
..
archiver archiver: improve error message for irregular files 2024-01-06 19:03:11 +01:00
backend Fix typos 2023-12-06 13:11:55 +01:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache move Backend interface to backend package 2023-10-25 23:00:18 +02:00
checker Fix typos 2023-12-06 13:11:55 +01: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 Fix typos 2023-12-06 13:11:55 +01:00
fuse Merge pull request #4586 from Gelma/typos 2023-12-23 13:21:50 +00:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index Fix typos 2023-12-06 13:11:55 +01:00
migrations move Backend interface to backend package 2023-10-25 23:00:18 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack Fix typos 2023-12-06 13:11:55 +01:00
repository Fix typos 2023-12-06 13:11:55 +01:00
restic archiver: improve error message for irregular files 2024-01-06 19:03:11 +01:00
restorer Move changelog typo fixes to changelog files 2023-12-23 14:05:47 +01: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 Fix typos 2023-12-06 13:11:55 +01:00
walker Fix typos 2023-12-06 13:11:55 +01:00