weggli-rs / weggli

weggli is a fast and robust semantic search tool for C and C++ codebases. It is designed to help security researchers identify interesting functionality in large codebases.
Apache License 2.0
2.32k stars 127 forks source link

Ignore hidden files/folders by default #12

Closed jvoisin closed 2 years ago

jvoisin commented 2 years ago

It would be great if weggli could avoid crawling inside .git folders by default, to avoid nuking my i/o into oblivion for no good reason <3

felixwilhelm commented 2 years ago

It should automatically exclude hidden files and folders: see here.

Looking at some strace output this seems to be working as intended. Can you double check if this doesn't work for you and reopen the issue?