Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InferCore/InferCore
/ IsValidTrigger
Function
IsValidTrigger
internal/fallback/triggers.go:19–22 ·
view source on GitHub ↗
(trigger string)
Source
from the content-addressed store, hash-verified
17
}
18
19
func
IsValidTrigger(trigger string) bool {
20
_, ok := validTriggers[trigger]
21
return
ok
22
}
Callers
2
validate
Method · 0.92
TestIsValidTrigger
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestIsValidTrigger
Function · 0.68