laktak / zfind

search for files (even inside tar/zip/7z/rar) using a SQL-WHERE filter
MIT License
359 stars 5 forks source link

Symlinks can be files as well #4

Closed avioli closed 1 month ago

avioli commented 1 month ago

Correct me if I'm wrong, but I believe you assume symlinks are always directories with this line:

https://github.com/laktak/zfind/blob/5c55bb75b6a6c9bfc9c295a85c1cef67c0fec01c/find/walk.go#L70

laktak commented 1 month ago

You are correct, thank you! I've fixed it.