Compare commits

..
1 Commits
Author SHA1 Message Date
sneak a179fbaa9c Say "skipped" in scan's warnings for skipped paths (closes #170)
check / check (push) Canceled after 0s
A warning for a path the summary counts as skipped now reads
`scan: skipped PATH (REASON)`, naming the path once. This covers
unreadable directories, failed lstats, failed reads and dropped
operands. Each path of a hard-linked file that cannot be read gets its
own line, since each is counted. Lines for paths left out on purpose
(`--exclude`, default excludes, filesystems that are not persistent)
now read `scan: left out PATH (...)`, so a search for `scan: skipped`
finds only the counted paths.

Model: opus-5-5
2026-11-11 10:55:35 +00:00
+5 -4
View File
@@ -689,10 +689,11 @@ scan: skipped /srv/a/closed (permission denied)
scan: skipped /srv/a/pipe (a FIFO) scan: skipped /srv/a/pipe (a FIFO)
``` ```
The summary counts each path named in such a warning. A line for a path left out The summary counts each path named in such a warning. When a file with several
on purpose starts with `scan: left out` instead, and is not counted. A search of hard links cannot be read, each of its paths gets a warning. A line for a path
the log for `scan: skipped` therefore finds the paths the summary counts. When a left out on purpose starts with `scan: left out` instead, and is not counted. A
file with several hard links cannot be read, each of its paths gets a warning. search of the log for `scan: skipped` therefore finds the paths the summary
counts.
#### Stopping a scan #### Stopping a scan