MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ModelVersion

Method ModelVersion

common/cost/tracker.go:183–188  ·  view source on GitHub ↗

ModelVersion returns the cost model version configured on the tracker.

()

Source from the content-addressed store, hash-verified

181
182// ModelVersion returns the cost model version configured on the tracker.
183func (c *Tracker) ModelVersion() uint32 {
184 if c == nil {
185 return defaultModelVersion
186 }
187 return c.modelVersion
188}
189
190// CreateList records list literal construction cost.
191func (c *Tracker) CreateList(id int64, res ref.Val) {

Callers 2

applyQualifiersFunction · 0.80

Calls

no outgoing calls

Tested by 1