Module predicates::path
source · Expand description
Path Predicates
This module contains predicates specific to the file system.
Structs
Predicate that compares file matches
Predicate that checks if a file is present
Predicate adapter that converts a
path
predicate to a byte predicate on its content.Predicate that checks the
std::fs::FileType
.Predicate that compares string content of files
Traits
Predicate
extension adapting a slice
Predicate.Functions
Creates a new
Predicate
that ensures complete equalityCreates a new
Predicate
that ensures the path exists.Creates a new
Predicate
that ensures the path points to a directory.Creates a new
Predicate
that ensures the path points to a file.Creates a new
Predicate
that ensures the path points to a symlink.Creates a new
Predicate
that ensures the path doesn’t exist.