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

Function FormatDurationConstant

common/constant.cc:90–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90std::string FormatDurationConstant(absl::Duration value) {
91 return absl::StrCat("duration(\"", absl::FormatDuration(value), "\")");
92}
93
94std::string FormatTimestampConstant(absl::Time value) {
95 return absl::StrCat(

Callers 1

AbslStringifyFunction · 0.85

Calls 1

FormatDurationFunction · 0.50

Tested by

no test coverage detected