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

Method copy

cel/env.go:205–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203}
204
205func (c *costConfig) copy() *costConfig {
206 return &costConfig{
207 strategy: c.strategy,
208 models: slices.Clone(c.models),
209 version: c.version,
210 }
211}
212
213// build derives the estimation and tracking options. A cost.ModelOption serves both, so the two
214// lists hold the same options.

Callers 1

ExtendMethod · 0.45

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected