pub struct FileCollectionOptions {
pub respect_gitignore: bool,
pub use_ckignore: bool,
pub exclude_patterns: Vec<String>,
}Expand description
Configuration for file collection during indexing and search operations. This struct encapsulates all settings related to which files should be included or excluded when traversing a directory tree.
Fields§
§respect_gitignore: boolWhether to respect .gitignore files
use_ckignore: boolWhether to respect .ckignore files hierarchically
exclude_patterns: Vec<String>Patterns to exclude files/directories
Trait Implementations§
Source§impl Clone for FileCollectionOptions
impl Clone for FileCollectionOptions
Source§fn clone(&self) -> FileCollectionOptions
fn clone(&self) -> FileCollectionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileCollectionOptions
impl Debug for FileCollectionOptions
Source§impl From<&SearchOptions> for FileCollectionOptions
impl From<&SearchOptions> for FileCollectionOptions
Source§fn from(opts: &SearchOptions) -> Self
fn from(opts: &SearchOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileCollectionOptions
impl RefUnwindSafe for FileCollectionOptions
impl Send for FileCollectionOptions
impl Sync for FileCollectionOptions
impl Unpin for FileCollectionOptions
impl UnwindSafe for FileCollectionOptions
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