pub struct WalkOptions {
pub respect_gitignore: bool,
pub include_hidden: bool,
pub symlink_policy: SymlinkPolicy,
pub skip_dir_names: Vec<String>,
pub skip_path_prefixes: Vec<String>,
pub max_depth: Option<u32>,
pub recovery: Option<RecoveryRules>,
}Expand description
Walk configuration; defaults per plan.md.
Fields§
§respect_gitignore: boolPhase 1 honors .gitignore / .ignore.
Dotfiles are not skipped for being hidden.
symlink_policy: SymlinkPolicySymlink handling (both phases).
skip_dir_names: Vec<String>Never descend into directories with these final name components (both phases; prunes descent by artifact-folder name, distinct from gitignore’s VCS rules).
skip_path_prefixes: Vec<String>Never enter these root-relative subtrees (both phases).
max_depth: Option<u32>None = unlimited; Some(n) = max directory depth below root.
recovery: Option<RecoveryRules>Phase 2 rules; None = phase 2 off.
Trait Implementations§
Source§impl Clone for WalkOptions
impl Clone for WalkOptions
Source§fn clone(&self) -> WalkOptions
fn clone(&self) -> WalkOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WalkOptions
impl Debug for WalkOptions
Auto Trait Implementations§
impl Freeze for WalkOptions
impl RefUnwindSafe for WalkOptions
impl Send for WalkOptions
impl Sync for WalkOptions
impl Unpin for WalkOptions
impl UnsafeUnpin for WalkOptions
impl UnwindSafe for WalkOptions
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