Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ macroTargetMatchesNamespace
Function
macroTargetMatchesNamespace
ext/guards.go:62–67 ·
view source on GitHub ↗
(ns string, target ast.Expr)
Source
from the content-addressed store, hash-verified
60
}
61
62
func
macroTargetMatchesNamespace(ns string, target ast.Expr) bool {
63
if
id, found := extractIdent(target); found {
64
return
id == ns
65
}
66
return
false
67
}
Callers
5
celBind
Function · 0.85
mathLeast
Function · 0.85
mathGreatest
Function · 0.85
hasProtoExt
Function · 0.85
getProtoExt
Function · 0.85
Calls
1
extractIdent
Function · 0.70
Tested by
no test coverage detected