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

Method ensureMutableFunctions

cel/env.go:602–607  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

600}
601
602func (e *Env) ensureMutableFunctions() {
603 if e.funcsShared {
604 e.functions = maps.Clone(e.functions)
605 e.funcsShared = false
606 }
607}
608
609func (e *Env) ensureMutableLibraries() {
610 if e.libsShared {

Callers 2

CompileOptionsMethod · 0.80
FunctionDeclsFunction · 0.80

Calls 1

CloneMethod · 0.80

Tested by

no test coverage detected