restic/internal/archiver
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.go archiver: improve error message for irregular files 2024-01-06 19:03:11 +01:00
archiver_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
archiver_unix_test.go Remove unused context or testing parameters 2023-05-18 21:17:53 +02:00
archiver_windows_test.go Remove unused context or testing parameters 2023-05-18 21:17:53 +02:00
blob_saver.go archiver: Asynchronously complete FutureFile 2022-10-30 10:29:11 +01:00
blob_saver_test.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
buffer.go archiver: Remove cleanup goroutine from BufferPool 2022-05-29 17:09:16 +02:00
doc.go archiver: Add high-level documentation 2018-05-12 23:55:54 +02:00
file_saver.go backup: rework error reporting for subcommand 2023-10-27 23:58:52 +02:00
file_saver_test.go test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
scanner.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
scanner_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
testing.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
testing_test.go repository: Remove empty cleanup functions in tests 2022-12-11 11:06:25 +01:00
tree.go archiver/tree: Introduce functions Leaf() and NodeNames() 2021-01-29 11:11:28 +01:00
tree_saver.go tweak debug logs 2023-04-23 11:38:06 +02:00
tree_saver_test.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
tree_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00