Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/wavetermdev/waveterm
/ GetEx
Method
GetEx
pkg/util/ds/syncmap.go:32–37 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(sm *SyncMap[T]) GetEx(key string) (T, bool) {
33
sm.lock.Lock()
34
defer
sm.lock.Unlock()
35
v, ok := sm.m[key]
36
return
v, ok
37
}
38
39
func
(sm *SyncMap[T]) Delete(key string) {
40
sm.lock.Lock()
Callers
3
shouldAttemptAutoReconnect
Function · 0.80
runOutputLoop
Function · 0.80
TestSyncMap_GetEx
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestSyncMap_GetEx
Function · 0.64