diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-08-03 17:26:22 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-08-20 07:10:19 -0400 |
commit | bb110c1ebeeda452046830b3991f705f5759da92 (patch) | |
tree | cc2b0112a3ca9b8d05cf1e953553907d71564082 /globset | |
parent | d9ca5293569efb255608d3c601107bcfe7060f15 (diff) |
ripgrep: migrate to libripgrep
This commit does the work to delete the old `grep` crate and effectively
rewrite most of ripgrep core to use the new libripgrep crates. The new
`grep` crate is now a facade that collects the various crates that make
up libripgrep.
The most complex part of ripgrep core is now arguably the translation
between command line parameters and the library options, which is
ultimately where we want to be.
Diffstat (limited to 'globset')
-rw-r--r-- | globset/README.md | 2 | ||||
-rw-r--r-- | globset/src/lib.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/globset/README.md b/globset/README.md index f5caf22a..5d54172a 100644 --- a/globset/README.md +++ b/globset/README.md @@ -4,7 +4,7 @@ Cross platform single glob and glob set matching. Glob set matching is the process of matching one or more glob patterns against a single candidate path simultaneously, and returning all of the globs that matched. -[![Linux build status](https://api.travis-ci.org/BurntSushi/ripgrep.png)](https://travis-ci.org/BurntSushi/ripgrep) +[![Linux build status](https://api.travis-ci.org/BurntSushi/ripgrep.svg)](https://travis-ci.org/BurntSushi/ripgrep) [![Windows build status](https://ci.appveyor.com/api/projects/status/github/BurntSushi/ripgrep?svg=true)](https://ci.appveyor.com/project/BurntSushi/ripgrep) [![](https://img.shields.io/crates/v/globset.svg)](https://crates.io/crates/globset) diff --git a/globset/src/lib.rs b/globset/src/lib.rs index 50c92e42..8d26e187 100644 --- a/globset/src/lib.rs +++ b/globset/src/lib.rs @@ -470,7 +470,6 @@ impl GlobSetBuilder { } /// Add a new pattern to this set. - #[allow(dead_code)] pub fn add(&mut self, pat: Glob) -> &mut GlobSetBuilder { self.pats.push(pat); self |