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

Function ListsVersion

ext/lists.go:258–263  ·  view source on GitHub ↗

ListsVersion configures the version of the string library. The version limits which functions are available. Only functions introduced below or equal to the given version included in the library. If this option is not set, all functions are available. See the library documentation to determine whi

(version uint32)

Source from the content-addressed store, hash-verified

256// If the documentation does not state which version a function was introduced, it can
257// be assumed to be introduced at version 0, when the library was first created.
258func ListsVersion(version uint32) ListsOption {
259 return func(lib *listsLib) *listsLib {
260 lib.version = version
261 return lib
262 }
263}
264
265// ListsMaxRangeSize sets the maximum number of elements lists.range() will
266// allocate. If not set, the default is 1,000,000. Setting this to zero

Callers 9

testK8sCostFunction · 0.92
TestListsCostBoundsFunction · 0.92
initExtFactoriesFunction · 0.85
TestListsRuntimeErrorsFunction · 0.85
TestListsVersionFunction · 0.85
testListsEnvFunction · 0.85

Calls

no outgoing calls