summaryrefslogtreecommitdiffstats
path: root/ignore/src/walk.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ignore/src/walk.rs')
-rw-r--r--ignore/src/walk.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ignore/src/walk.rs b/ignore/src/walk.rs
index aee7a881..ae1f58ba 100644
--- a/ignore/src/walk.rs
+++ b/ignore/src/walk.rs
@@ -764,6 +764,14 @@ impl WalkBuilder {
self
}
+ /// Process ignore files case insensitively
+ ///
+ /// This is disabled by default.
+ pub fn ignore_case_insensitive(&mut self, yes: bool) -> &mut WalkBuilder {
+ self.ig_builder.ignore_case_insensitive(yes);
+ self
+ }
+
/// Set a function for sorting directory entries by their path.
///
/// If a compare function is set, the resulting iterator will return all