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

Function FormatStringConstant

common/constant.cc:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86std::string FormatStringConstant(absl::string_view value) {
87 return internal::FormatStringLiteral(value);
88}
89
90std::string FormatDurationConstant(absl::Duration value) {
91 return absl::StrCat("duration(\"", absl::FormatDuration(value), "\")");

Callers 1

AbslStringifyFunction · 0.85

Calls 1

FormatStringLiteralFunction · 0.85

Tested by

no test coverage detected