libimagentryfilter: Update use stmts for filters

Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
This commit is contained in:
Gavin Thomas Claugus 2016-08-13 12:11:19 -04:00
parent fda1c94bee
commit 0e4079287a
20 changed files with 20 additions and 23 deletions

View file

@ -1,6 +1,6 @@
use libimagstore::store::Entry;
use filter::Filter;
use filters::filter::Filter;
pub struct BoolFilter(bool);

View file

@ -1,10 +1,9 @@
use filters::filter::Filter;
use regex::Regex;
use regex::Error as RError;
use libimagstore::store::Entry;
use filter::Filter;
pub trait IntoRegex {
fn into_regex(self) -> Result<Regex, RError>;

View file

@ -1,7 +1,6 @@
use filters::filter::Filter;
use libimagstore::store::Entry;
use filter::Filter;
pub struct ContentLengthIsOver {
val: usize
}

View file

@ -1,7 +1,6 @@
use filters::filter::Filter;
use libimagstore::store::Entry;
use filter::Filter;
pub struct ContentLengthIsUnder {
val: usize
}

View file

@ -3,7 +3,7 @@ use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use builtin::header::field_predicate::FieldPredicate;
use builtin::header::field_predicate::Predicate;
use filter::Filter;
use filters::filter::Filter;
use toml::Value;

View file

@ -1,7 +1,7 @@
use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use filter::Filter;
use filters::filter::Filter;
pub struct FieldExists {
header_field_path: FieldPath,

View file

@ -6,7 +6,7 @@ use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use builtin::header::field_predicate::FieldPredicate;
use builtin::header::field_predicate::Predicate;
use filter::Filter;
use filters::filter::Filter;
struct EqGrep{
regex: Regex

View file

@ -3,7 +3,7 @@ use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use builtin::header::field_predicate::FieldPredicate;
use builtin::header::field_predicate::Predicate;
use filter::Filter;
use filters::filter::Filter;
use toml::Value;

View file

@ -1,7 +1,7 @@
use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use filter::Filter;
use filters::filter::Filter;
use toml::Value;

View file

@ -3,7 +3,7 @@ use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use builtin::header::field_predicate::FieldPredicate;
use builtin::header::field_predicate::Predicate;
use filter::Filter;
use filters::filter::Filter;
use toml::Value;

View file

@ -3,7 +3,7 @@ use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use builtin::header::field_predicate::FieldPredicate;
use builtin::header::field_predicate::Predicate;
use filter::Filter;
use filters::filter::Filter;
use toml::Value;

View file

@ -1,7 +1,7 @@
use libimagstore::store::Entry;
use builtin::header::field_path::FieldPath;
use filter::Filter;
use filters::filter::Filter;
use toml::Value;

View file

@ -3,7 +3,7 @@ use toml::Value;
use libimagstore::store::Entry;
use filter::Filter;
use filters::filter::Filter;
pub struct VersionEq {
version: Version,

View file

@ -3,7 +3,7 @@ use toml::Value;
use libimagstore::store::Entry;
use filter::Filter;
use filters::filter::Filter;
pub struct VersionGt {
version: Version,

View file

@ -3,7 +3,7 @@ use toml::Value;
use libimagstore::store::Entry;
use filter::Filter;
use filters::filter::Filter;
pub struct VersionLt {
version: Version,

View file

@ -4,7 +4,7 @@ use libimagstore::store::Entry;
use builtin::header::version::gt::VersionGt;
use builtin::header::version::lt::VersionLt;
use filter::Filter;
use filters::filter::Filter;
use ops::and::And;
use ops::not::Not;

View file

@ -1,6 +1,6 @@
use libimagstore::store::Entry;
use filter::Filter;
use filters::filter::Filter;
pub struct And {
a: Box<Filter>,

View file

@ -1,6 +1,6 @@
use libimagstore::store::Entry;
use filter::Filter;
use filters::filter::Filter;
pub struct Not {
a: Box<Filter>

View file

@ -1,6 +1,6 @@
use libimagstore::store::Entry;
use filter::Filter;
use filters::filter::Filter;
pub struct Or {
a: Box<Filter>,

View file

@ -2,7 +2,7 @@ use libimagstore::store::Entry;
use libimagentrytag::tagable::Tagable;
use libimagentrytag::tag::Tag;
use filter::Filter;
use filters::filter::Filter;
/// Check whether an Entry has a certain tag
pub struct HasTag {