MCPcopy Create free account
hub / github.com/apache/brpc / EatWildcard

Function EatWildcard

src/butil/strings/string_util.cc:776–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774
775template <typename CHAR, typename NEXT>
776static void EatWildcard(const CHAR** pattern, const CHAR* end, NEXT next) {
777 while (*pattern != end) {
778 if (!IsWildcard(**pattern))
779 return;
780 next(pattern, end);
781 }
782}
783
784template <typename CHAR, typename NEXT>
785static bool MatchPatternT(const CHAR* eval, const CHAR* eval_end,

Callers 1

MatchPatternTFunction · 0.85

Calls 1

IsWildcardFunction · 0.85

Tested by

no test coverage detected