Test the search inclusions/exclusions
This commit is contained in:
committed by
Kirill Bulatov
parent
80fc1bc276
commit
dfdf7e4866
@@ -4208,11 +4208,9 @@ impl Project {
|
||||
if matching_paths_tx.is_closed() {
|
||||
break;
|
||||
}
|
||||
let matches = if !query
|
||||
let matches = if query
|
||||
.file_matches(Some(&entry.path))
|
||||
{
|
||||
false
|
||||
} else {
|
||||
abs_path.clear();
|
||||
abs_path.push(&snapshot.abs_path());
|
||||
abs_path.push(&entry.path);
|
||||
@@ -4223,6 +4221,8 @@ impl Project {
|
||||
} else {
|
||||
false
|
||||
}
|
||||
} else {
|
||||
false
|
||||
};
|
||||
|
||||
if matches {
|
||||
|
||||
Reference in New Issue
Block a user