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

Method ensureMutableFeatures

cel/env.go:681–686  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

679}
680
681func (e *Env) ensureMutableFeatures() {
682 if e.featuresShared {
683 e.features = maps.Clone(e.features)
684 e.featuresShared = false
685 }
686}
687
688func (e *Env) ensureMutableAppliedFeatures() {
689 if e.appliedFeaturesShared {

Callers 1

featuresFunction · 0.80

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected