Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wavetermdev/waveterm
/ Get
Method
Get
pkg/util/ds/expmap.go:81–87 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
79
}
80
81
func
(em *ExpMap[T]) Get(key string) (T, bool) {
82
em.lock.Lock()
83
defer
em.lock.Unlock()
84
em.expireItems_nolock()
85
v, ok := em.m[key]
86
return
v.Val, ok
87
}
Callers
15
fetchFavicon
Function · 0.45
GetWaveAIChatCommand
Method · 0.45
sendRespWithBlockMessage
Method · 0.45
doRequest
Function · 0.45
UpdateActivity
Function · 0.45
ReadFullConfig
Function · 0.45
GetConfigSubdirs
Function · 0.45
getTSFieldName
Function · 0.45
isFieldOmitEmpty
Function · 0.45
generateTSTypeInternal
Function · 0.45
SetRTInfo
Function · 0.45
DBGetSingletonByType
Function · 0.45
Calls
1
expireItems_nolock
Method · 0.95
Tested by
3
TestSyncMap_Set
Function · 0.36
TestSyncMap_Get
Function · 0.36
TestSyncMap_Delete
Function · 0.36