pub struct FindOptions {
pub max_file_bytes: u64,
pub honour_gitignore: bool,
pub include_hidden: bool,
pub exclude: Vec<PathBuf>,
}Fields§
§max_file_bytes: u64§honour_gitignore: boolHonour .gitignore files as well as .cyberbrainignore. On by default; a tree’s
target/ and node_modules/ are exactly what the operator meant by them.
Descend into dot-directories and read dot-files. Off by default.
exclude: Vec<PathBuf>Directories never entered regardless of rules. The binary passes the store here:
its notes are recall’s to search.
Trait Implementations§
Source§impl Clone for FindOptions
impl Clone for FindOptions
Source§impl Debug for FindOptions
impl Debug for FindOptions
Auto Trait Implementations§
impl Freeze for FindOptions
impl RefUnwindSafe for FindOptions
impl Send for FindOptions
impl Sync for FindOptions
impl Unpin for FindOptions
impl UnsafeUnpin for FindOptions
impl UnwindSafe for FindOptions
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