1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-02 17:55:53 +00:00
restic/internal/archiver
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.go archiver: improve error message for irregular files 2024-01-08 21:33:05 +01:00
archiver_test.go test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
archiver_unix_test.go
archiver_windows_test.go
blob_saver.go
blob_saver_test.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
buffer.go
doc.go
file_saver.go
file_saver_test.go test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
scanner.go
scanner_test.go
testing.go
testing_test.go
tree.go
tree_saver.go
tree_saver_test.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
tree_test.go