MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / IsMatch

Method IsMatch

base/attribute.cc:315–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315bool AttributeQualifier::IsMatch(const AttributeQualifier& other) const {
316 if (absl::holds_alternative<Kind>(value_) ||
317 absl::holds_alternative<Kind>(other.value_)) {
318 return false;
319 }
320 return value_ == other.value_;
321}
322
323absl::StatusOr<std::string> AttributeQualifier::AsString() const {
324 std::string result;

Callers 5

TESTFunction · 0.45
TESTFunction · 0.45
MatchAgainstPatternsFunction · 0.45
activation_test.ccFile · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36