Fix IsHiddenPath treating current directory as hidden (closes #14) #19

Слито
sneak слито 2 коммит(ов) из fix/issue-14 в next 2026-02-20 11:37:23 +01:00

2 Коммитов

Автор SHA1 Сообщение Дата
clawbot
8c7eef6240 fix: handle errcheck warnings in gpg.go and gpg_test.go, fix gofmt 2026-02-19 23:40:50 -08:00
clawbot
f6478858d7 fix: IsHiddenPath returns false for "." and "/" (current dir/root are not hidden)
path.Clean(".") returns "." which starts with a dot, causing IsHiddenPath
to incorrectly treat the current directory as hidden. Add explicit checks
for "." and "/" before the dot-prefix check.

Fixed in both mfer/scanner.go and internal/scanner/scanner.go.
2026-02-19 23:36:42 -08:00