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

Function limitIDByName

cel/options.go:125–132  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

123}
124
125func limitIDByName(name string) (limitID, bool) {
126 for k, v := range limitIDsToNames {
127 if v == name {
128 return k, true
129 }
130 }
131 return limitID(0), false
132}
133
134// EnvOption is a functional interface for configuring the environment.
135type EnvOption func(e *Env) (*Env, error)

Callers 1

configToEnvOptionsFunction · 0.85

Calls 1

limitIDTypeAlias · 0.85

Tested by

no test coverage detected