libimagentryfilter: Update use stmts for filters
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
This commit is contained in:
parent
fda1c94bee
commit
0e4079287a
20 changed files with 20 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
|||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
pub struct BoolFilter(bool);
|
||||
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use filters::filter::Filter;
|
||||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
|
||||
pub struct ContentLengthIsOver {
|
||||
val: usize
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use filters::filter::Filter;
|
||||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
|
||||
pub struct ContentLengthIsUnder {
|
||||
val: usize
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use libimagstore::store::Entry;
|
||||
|
||||
use builtin::header::field_path::FieldPath;
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
use toml::Value;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use libimagstore::store::Entry;
|
||||
|
||||
use builtin::header::field_path::FieldPath;
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
use toml::Value;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ use toml::Value;
|
|||
|
||||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
pub struct VersionEq {
|
||||
version: Version,
|
||||
|
|
|
@ -3,7 +3,7 @@ use toml::Value;
|
|||
|
||||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
pub struct VersionGt {
|
||||
version: Version,
|
||||
|
|
|
@ -3,7 +3,7 @@ use toml::Value;
|
|||
|
||||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
pub struct VersionLt {
|
||||
version: Version,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
pub struct And {
|
||||
a: Box<Filter>,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
pub struct Not {
|
||||
a: Box<Filter>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use libimagstore::store::Entry;
|
||||
|
||||
use filter::Filter;
|
||||
use filters::filter::Filter;
|
||||
|
||||
pub struct Or {
|
||||
a: Box<Filter>,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue