Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ checkCIDR
Function
checkCIDR
ext/network.go:615–619 ·
view source on GitHub ↗
(e *cel.Env, call, arg ast.Expr)
Source
from the content-addressed store, hash-verified
613
}
614
615
func
checkCIDR(e *cel.Env, call, arg ast.Expr) error {
616
pattern := arg.AsLiteral().Value().(string)
617
_, err := parseCIDR(pattern)
618
return
err
619
}
Callers
nothing calls this directly
Calls
3
parseCIDR
Function · 0.85
Value
Method · 0.65
AsLiteral
Method · 0.65
Tested by
no test coverage detected