pub struct ExclusionOptions {
pub include_hidden: bool,
pub include_secret_files: bool,
pub honor_gitignore: bool,
pub extra_excludes: Vec<String>,
pub include_patterns: Vec<String>,
}Expand description
Options for ExclusionMatcher.
Fields§
Index hidden descendants of the root (--include-hidden).
include_secret_files: boolIndex secret-named files (does not affect hidden unless also set).
honor_gitignore: boolHonour .gitignore / .ignore under the index root only.
extra_excludes: Vec<String>Additional ignore globs ([index].exclude).
include_patterns: Vec<String>Include globs; empty means “all non-excluded”.
Trait Implementations§
Source§impl Clone for ExclusionOptions
impl Clone for ExclusionOptions
Source§impl Debug for ExclusionOptions
impl Debug for ExclusionOptions
Auto Trait Implementations§
impl Freeze for ExclusionOptions
impl RefUnwindSafe for ExclusionOptions
impl Send for ExclusionOptions
impl Sync for ExclusionOptions
impl Unpin for ExclusionOptions
impl UnsafeUnpin for ExclusionOptions
impl UnwindSafe for ExclusionOptions
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().