summaryrefslogtreecommitdiffstats
path: root/src/interactive/app/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive/app/state.rs')
-rw-r--r--src/interactive/app/state.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interactive/app/state.rs b/src/interactive/app/state.rs
index 159e63e..3a0da28 100644
--- a/src/interactive/app/state.rs
+++ b/src/interactive/app/state.rs
@@ -44,6 +44,8 @@ pub struct AppState {
pub walk_options: WalkOptions,
/// The paths used in the initial traversal, at least 1.
pub root_paths: Vec<PathBuf>,
+ /// If true, listed entries will be validated for presence when switching directories.
+ pub allow_entry_check: bool,
}
impl AppState {
@@ -61,6 +63,7 @@ impl AppState {
stats: TraversalStats::default(),
walk_options,
root_paths: input,
+ allow_entry_check: true,
}
}
}