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

Method EndsWith

common/internal/byte_string.cc:285–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285bool ByteString::EndsWith(absl::string_view rhs) const {
286 return Visit(absl::Overload(
287 [&rhs](absl::string_view lhs) -> bool {
288 return absl::EndsWith(lhs, rhs);
289 },
290 [&rhs](const absl::Cord& lhs) -> bool { return lhs.EndsWith(rhs); }));
291}
292
293bool ByteString::EndsWith(const absl::Cord& rhs) const {
294 return Visit(absl::Overload(

Callers

nothing calls this directly

Calls 2

VisitFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected