1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/crates/ignore/src
Andrew Gallant 109460fce2
ignore: simplify parallel worker initialization
We can just ask the channel whether any work has been loaded. Normally
querying a channel for its length is a strong predictor of bugs, but in
this case, we do it before we ever attempt a `recv`, so it should work.

Kudos to @zsugabubus for suggesting this!
2020-02-20 16:50:41 -05:00
..
default_types.rs ignore/types: add K type 2020-02-19 07:07:09 -05:00
dir.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
gitignore.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
lib.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
overrides.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
pathutil.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
types.rs repo: move all source code in crates directory 2020-02-17 19:24:53 -05:00
walk.rs ignore: simplify parallel worker initialization 2020-02-20 16:50:41 -05:00