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

Function DurationValue

common/values/duration_value.h:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 static constexpr ValueKind kKind = ValueKind::kDuration;
53
54 explicit DurationValue(absl::Duration value) noexcept
55 : DurationValue(absl::in_place, value) {
56 ABSL_DCHECK_OK(internal::ValidateDuration(value));
57 }
58
59 DurationValue() = default;
60 DurationValue(const DurationValue&) = default;

Callers 1

UnsafeDurationValueFunction · 0.70

Calls 1

ValidateDurationFunction · 0.85

Tested by

no test coverage detected