If enabled, search in ignored files during project search

This commit is contained in:
Kirill Bulatov 2023-11-22 16:41:02 +02:00
parent ce3acf17cf
commit 92953fb53d
7 changed files with 85 additions and 10 deletions

View file

@ -2226,7 +2226,7 @@ impl LocalSnapshot {
paths
}
fn is_abs_path_excluded(&self, abs_path: &Path) -> bool {
pub fn is_abs_path_excluded(&self, abs_path: &Path) -> bool {
self.file_scan_exclusions
.iter()
.any(|exclude_matcher| exclude_matcher.is_match(abs_path))