←back to thread

131 points tomschafer | 2 comments | | HN request time: 0s | source
Show context
aerzen ◴[] No.42148992[source]
Cool.

I assumed it uses ripgrep (or the underlying walkdir) because that's the established high-performance tool for this. But apparently not.

replies(1): >>42149046 #
tomschafer ◴[] No.42149046[source]
It uses https://docs.rs/ignore/latest/ignore/ to walk dirs while respecting ignore files
replies(1): >>42149213 #
1. seritools ◴[] No.42149213[source]
(And `ignore` uses `walkdir` internally)
replies(1): >>42149221 #
2. burntsushi ◴[] No.42149221[source]
For single threaded use cases. For multi-threaded, it has its own parallel directory traversal. :-)