Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TecharoHQ/anubis
/ Contains
Method
Contains
lib/policy/expressions/url_values.go:59–62 ·
view source on GitHub ↗
(key ref.Val)
Source
from the content-addressed store, hash-verified
57
}
58
59
func
(u URLValues) Contains(key ref.Val) ref.Val {
60
_, ok := u.Find(key)
61
return
types.Bool(ok)
62
}
63
64
func
(u URLValues) Get(key ref.Val) ref.Val {
65
result, ok := u.Find(key)
Callers
15
TestURLValues
Function · 0.95
matchRedirectDomain
Function · 0.45
RenderIndex
Method · 0.45
TestChallengeFor_ErrNotFound
Function · 0.45
TestPassChallengeXSS
Function · 0.45
TestRedirectSecurity
Function · 0.45
Check
Method · 0.45
main
Function · 0.45
TestErrorLogFilter
Function · 0.45
computeXFFHeader
Function · 0.45
GzipMiddleware
Function · 0.45
Write
Method · 0.45
Calls
1
Find
Method · 0.95
Tested by
10
TestURLValues
Function · 0.76
TestChallengeFor_ErrNotFound
Function · 0.36
TestPassChallengeXSS
Function · 0.36
TestRedirectSecurity
Function · 0.36
TestErrorLogFilter
Function · 0.36
TestNewOGTagCache
Function · 0.36
TestNewOGTagCache_UnixSocket
Function · 0.36
TestVariousOutputFormats
Function · 0.36
TestBlacklistActions
Function · 0.36
TestBasePrefixInLinks
Function · 0.36