More project search filters WIP.

This commit is contained in:
Martín Lucas Golini
2024-03-14 10:38:46 -03:00
parent 5975174e48
commit b3d0eea6fc
8 changed files with 34 additions and 22 deletions

View File

@@ -401,13 +401,13 @@ class EE_API String {
/** glob matches a string against a glob
** @return True if matches
*/
static bool globMatch( const std::string& text, const std::string_view& glob,
static bool globMatch( const std::string_view& text, const std::string_view& glob,
bool caseInsensitive = false );
/** glob matches a string against a set of globs
** @return True if matches
*/
static bool globMatch( const std::string& text, const std::vector<std::string>& globs,
static bool globMatch( const std::string_view& text, const std::vector<std::string>& globs,
bool caseInsensitive = false );
/** @brief Default constructor