pub struct WalkerConfig {
pub follow_symlinks: bool,
pub max_depth: Option<usize>,
pub skip_dirs: Vec<String>,
pub include_patterns: Vec<String>,
}Expand description
Configuration options for the directory walker.
Fields§
§follow_symlinks: boolWhether to follow symbolic links.
max_depth: Option<usize>Maximum depth to recurse (None for unlimited).
skip_dirs: Vec<String>Directories to skip (e.g., “target”, “.git”).
include_patterns: Vec<String>File patterns to include (default: [“*.rs”]).
Implementations§
Source§impl WalkerConfig
impl WalkerConfig
Sourcepub fn follow_symlinks(self, follow: bool) -> Self
pub fn follow_symlinks(self, follow: bool) -> Self
Sets whether to follow symbolic links.
Trait Implementations§
Source§impl Clone for WalkerConfig
impl Clone for WalkerConfig
Source§fn clone(&self) -> WalkerConfig
fn clone(&self) -> WalkerConfig
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 WalkerConfig
impl Debug for WalkerConfig
Auto Trait Implementations§
impl Freeze for WalkerConfig
impl RefUnwindSafe for WalkerConfig
impl Send for WalkerConfig
impl Sync for WalkerConfig
impl Unpin for WalkerConfig
impl UnwindSafe for WalkerConfig
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