• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2018 The predicates-rs Project Developers.
2 //
3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6 // option. This file may not be copied, modified, or distributed
7 // except according to those terms.
8 
9 //! Path Predicates
10 //!
11 //! This module contains predicates specific to the file system.
12 
13 mod existence;
14 pub use self::existence::{exists, missing, ExistencePredicate};
15 mod ft;
16 pub use self::ft::{is_dir, is_file, is_symlink, FileTypePredicate};
17 mod fc;
18 pub use self::fc::{FileContentPredicate, PredicateFileContentExt};
19 mod fs;
20 pub use self::fs::{eq_file, BinaryFilePredicate, StrFilePredicate};
21