Port to gpui2

This commit is contained in:
Kirill Bulatov 2023-11-23 10:44:05 +02:00
parent eee63835fb
commit cee6fd8dd3
3 changed files with 135 additions and 6 deletions

View file

@ -2222,7 +2222,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))