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

Method ensureMutableLibraries

cel/env.go:674–679  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

672}
673
674func (e *Env) ensureMutableLibraries() {
675 if e.libsShared {
676 e.libraries = maps.Clone(e.libraries)
677 e.libsShared = false
678 }
679}
680
681func (e *Env) ensureMutableFeatures() {
682 if e.featuresShared {

Callers 1

LibFunction · 0.80

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected