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

Method ensureMutableFunctions

cel/env.go:667–672  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

665}
666
667func (e *Env) ensureMutableFunctions() {
668 if e.funcsShared {
669 e.functions = maps.Clone(e.functions)
670 e.funcsShared = false
671 }
672}
673
674func (e *Env) ensureMutableLibraries() {
675 if e.libsShared {

Callers 2

CompileOptionsMethod · 0.80
FunctionDeclsFunction · 0.80

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected