MCPcopy Create free account
hub / github.com/Universal-Team/Universal-Updater / matchPattern

Method matchPattern

source/utils/scriptUtils.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43static Thread thread;
44
45bool ScriptUtils::matchPattern(const std::string &pattern, const std::string &tested) {
46 std::regex patternRegex(pattern);
47 return regex_match(tested, patternRegex);
48}
49
50/* Remove a File. */
51Result ScriptUtils::removeFile(const std::string &file, bool isARG) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected