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

Function ListsVersion

ext/lists.go:187–192  ·  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

185// If the documentation does not state which version a function was introduced, it can
186// be assumed to be introduced at version 0, when the library was first created.
187func ListsVersion(version uint32) ListsOption {
188 return func(lib *listsLib) *listsLib {
189 lib.version = version
190 return lib
191 }
192}
193
194// ListsMaxRangeSize sets the maximum number of elements lists.range() will
195// allocate. If not set, the default is 1,000,000. Setting this to zero

Callers 4

TestListsRuntimeErrorsFunction · 0.85
TestListsVersionFunction · 0.85
testListsEnvFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestListsRuntimeErrorsFunction · 0.68
TestListsVersionFunction · 0.68
testListsEnvFunction · 0.68