syncthing/lib/scanner
Jakob Borg 79ef57d0ea
fix(scanner): continue walk after special files (fixes #9872) (#9877)
We must skip unix sockets, fifos, etc when scanning as these are not
filetypes we can handle. Currently we return a "bug" error, which
results in the walk being aborted and the rest of the tree being
essentially invisible to Syncthing. Instead, just ignore these files and
continue onwards.

This might well be #9859 as well but I can't confirm.
2024-12-19 08:27:53 +01:00
..
blockqueue.go all: Add Prometheus-style metrics to expose some internal performance counters (fixes #5175) (#9003) 2023-08-04 19:57:30 +02:00
blocks_test.go style: gofumpt all the things (#9829) 2024-11-19 11:32:56 +01:00
blocks.go lib/sha256: Remove it (#9643) 2024-08-10 12:58:20 +01:00
debug.go style: gofumpt all the things (#9829) 2024-11-19 11:32:56 +01:00
doc.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
metrics.go all: Add Prometheus-style metrics to expose some internal performance counters (fixes #5175) (#9003) 2023-08-04 19:57:30 +02:00
virtualfs_test.go all: Add Prometheus-style metrics to expose some internal performance counters (fixes #5175) (#9003) 2023-08-04 19:57:30 +02:00
walk_test.go refactor: use modern Protobuf encoder (#9817) 2024-12-01 16:50:17 +01:00
walk.go fix(scanner): continue walk after special files (fixes #9872) (#9877) 2024-12-19 08:27:53 +01:00