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

Method SetDisabled

common/env/env.go:653–656  ·  view source on GitHub ↗

SetDisabled disables or enables the library.

(value bool)

Source from the content-addressed store, hash-verified

651
652// SetDisabled disables or enables the library.
653func (lib *LibrarySubset) SetDisabled(value bool) *LibrarySubset {
654 lib.Disabled = value
655 return lib
656}
657
658// SetDisableMacros disables the macros for the library.
659func (lib *LibrarySubset) SetDisableMacros(value bool) *LibrarySubset {

Callers 6

envToStdLibFunction · 0.95
ToConfigMethod · 0.80
TestEnvToConfigFunction · 0.80
TestEnvFromConfigFunction · 0.80
TestSubsetFunctionFunction · 0.80
TestSubsetMacroFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestEnvToConfigFunction · 0.64
TestEnvFromConfigFunction · 0.64
TestSubsetFunctionFunction · 0.64
TestSubsetMacroFunction · 0.64