pub struct FilterOptions {
pub ext_override: Vec<String>,
pub exclude_ext: Vec<String>,
pub exclude_dirs: Vec<String>,
pub exclude_globs: Vec<String>,
pub include_rc: bool,
pub include_msbuild: bool,
pub include_hidden: bool,
pub max_file_size: u64,
}Expand description
Raw filter inputs, normalized by FilterConfig::build.
Fields§
§ext_override: Vec<String>Overrides the default whitelist entirely when non-empty.
exclude_ext: Vec<String>Appended removals from the effective whitelist.
exclude_dirs: Vec<String>Extra excluded directory names (appended to the defaults).
exclude_globs: Vec<String>Extra glob patterns matched against root-relative paths.
include_rc: boolAdds RC_EXTENSIONS to the default whitelist.
include_msbuild: boolAdds MSBUILD_EXTENSIONS to the default whitelist.
Processes dot-prefixed files/dirs (default excludes still apply).
max_file_size: u64Files above this size are recorded as too_large, never read.
Trait Implementations§
Source§impl Clone for FilterOptions
impl Clone for FilterOptions
Source§impl Debug for FilterOptions
impl Debug for FilterOptions
Auto Trait Implementations§
impl Freeze for FilterOptions
impl RefUnwindSafe for FilterOptions
impl Send for FilterOptions
impl Sync for FilterOptions
impl Unpin for FilterOptions
impl UnsafeUnpin for FilterOptions
impl UnwindSafe for FilterOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more