mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2026-10-28 11:44:37 +08:00
I think that this was probably a failed experiment. I suspect that it is too difficult to retro-fit indexing on top of ripgrep. Among other issues, one of the main problems is knowing what to index. Surely most cases want to use ripgrep's defaults (i.e., its "smart" filtering), but some use cases might want to ignore part or all of ripgrep's filtering. Reconciling this with ripgrep's existing command line structure in a user friendly way seems fraught. Ref #1497
23 lines
585 B
Rust
23 lines
585 B
Rust
// Macros useful for testing.
|
|
#[macro_use]
|
|
mod macros;
|
|
|
|
// Corpora.
|
|
mod hay;
|
|
// Utilities for making tests nicer to read and easier to write.
|
|
mod util;
|
|
|
|
// Tests for ripgrep's handling of binary files.
|
|
mod binary;
|
|
// Tests related to most features in ripgrep. If you're adding something new
|
|
// to ripgrep, tests should probably go in here.
|
|
mod feature;
|
|
// Tests for ripgrep's JSON format.
|
|
mod json;
|
|
// Miscellaneous tests grouped in a haphazard manner. Try not to add more.
|
|
mod misc;
|
|
// Tests for ripgrep's multiline search support.
|
|
mod multiline;
|
|
// Regression tests.
|
|
mod regression;
|