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

Function EscapeString

internal/strings.cc:552–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552std::string EscapeString(absl::string_view str) {
553 return EscapeInternal(str, true, '\0');
554}
555
556std::string EscapeBytes(absl::string_view str, bool escape_all_bytes,
557 char escape_quote_char) {

Callers 3

TestStringFunction · 0.85
TestStringEscapingFunction · 0.85
TESTFunction · 0.85

Calls 1

EscapeInternalFunction · 0.85

Tested by 3

TestStringFunction · 0.68
TestStringEscapingFunction · 0.68
TESTFunction · 0.68