resconfig中ignoreResourcePattern为空时不使用默认过滤规则

Signed-off-by: liduo <liduo29@huawei.com>
This commit is contained in:
liduo
2025-03-29 15:12:50 +08:00
parent d164814108
commit d8d70a2dce
4 changed files with 18 additions and 12 deletions
+6
View File
@@ -275,6 +275,12 @@ public:
*/
static bool AddIgnoreFileRegex(const std::string &regex, IgnoreType ignoreType);
/**
* @brief set whether use custom ignore regex pattern
* @param isUseCustomRegex: true is use custom ignore file regex
*/
static void SetUseCustomIgnoreRegex(const bool &isUseCustomRegex);
private:
static const std::map<std::string, IgnoreType> DEFAULT_IGNORE_FILE_REGEX;
static std::string GetLocaleLimitkey(const KeyParam &KeyParam);