mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Apply IndexSearchExcludedPaths to Index Search in a unified way
This commit is contained in:
parent
2da557c2db
commit
786e9427d9
1 changed files with 3 additions and 0 deletions
|
|
@ -99,6 +99,9 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
results.Add(ResultManager.CreateResult(query, search));
|
||||
}
|
||||
|
||||
results.RemoveWhere(r => Settings.IndexSearchExcludedSubdirectoryPaths.Any(
|
||||
excludedPath => r.SubTitle.StartsWith(excludedPath.Path, StringComparison.OrdinalIgnoreCase)));
|
||||
|
||||
return results.ToList();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue