Expand description
Helpers for constructing and using [FileFilter]s.
Re-exportsΒ§
use core::fmt;πuse foundry_compilers::FileFilter;πuse serde::Deserialize;πuse serde::Deserialize;πuse serde::Serialize;πuse serde::Serialize;πuse std::convert::Infallible;πuse std::path::Path;πuse std::path::PathBuf;πuse std::str::FromStr;π
StructsΒ§
- Glob
Matcher - A
globset::Globthat creates itsglobset::GlobMatcherwhen its created, so it doesnβt need to be compiled when the filter functionsTestFilterfunctions are called. - Skip
Build Filters - Bundles multiple
SkipBuildFilterinto a singleFileFilter
EnumsΒ§
- Skip
Build Filter - A filter that excludes matching contracts from the build
FunctionsΒ§
- expand_
globs - Expand globs with a root path.
- is_
ignored_ path - Returns whether
fileis contained inpaths, or lies underneath a directory contained inpaths.