Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/wavetermdev/waveterm
/ HasScope
Method
HasScope
pkg/wps/wpstypes.go:69–71 ·
view source on GitHub ↗
(scope string)
Source
from the content-addressed store, hash-verified
67
}
68
69
func
(e WaveEvent) HasScope(scope string) bool {
70
return
utilfn.ContainsStr(e.Scopes, scope)
71
}
72
73
type
SubscriptionRequest
struct
{
74
Event string `json:
"event"
`
Callers
1
editorRun
Function · 0.80
Calls
1
ContainsStr
Function · 0.92
Tested by
no test coverage detected