Skip to main content

Module filter

Module filter 

Source
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Β§

GlobMatcher
A globset::Glob that creates its globset::GlobMatcher when its created, so it doesn’t need to be compiled when the filter functions TestFilter functions are called.
SkipBuildFilters
Bundles multiple SkipBuildFilter into a single FileFilter

EnumsΒ§

SkipBuildFilter
A filter that excludes matching contracts from the build

FunctionsΒ§

expand_globs
Expand globs with a root path.
is_ignored_path
Returns whether file is contained in paths, or lies underneath a directory contained in paths.