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

Method ensureMutableLibraries

cel/env.go:609–614  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

607}
608
609func (e *Env) ensureMutableLibraries() {
610 if e.libsShared {
611 e.libraries = maps.Clone(e.libraries)
612 e.libsShared = false
613 }
614}
615
616func (e *Env) ensureMutableFeatures() {
617 if e.featuresShared {

Callers 1

LibFunction · 0.80

Calls 1

CloneMethod · 0.80

Tested by

no test coverage detected