Allow to add a filtered file to the project file tree by adding it in .ecode/.prjallowed (SpartanJ/ecode#592).

Allow canceling the global search with escape.
This commit is contained in:
Martín Lucas Golini
2025-07-17 16:43:42 -03:00
parent e5fd8c1647
commit a537214cc7
12 changed files with 155 additions and 102 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ bool GitIgnoreMatcher::parse() {
return !mPatterns.empty();
}
bool GitIgnoreMatcher::match( const std::string& value ) const {
bool GitIgnoreMatcher::match( std::string_view value ) const {
if ( mPatterns.empty() )
return false;
bool match = false;