MCPcopy
hub / github.com/wavetermdev/waveterm / SetInCache

Function SetInCache

pkg/faviconcache/faviconcache.go:192–196  ·  view source on GitHub ↗
(key string, item FaviconCacheItem)

Source from the content-addressed store, hash-verified

190}
191
192func SetInCache(key string, item FaviconCacheItem) {
193 faviconCacheLock.Lock()
194 defer faviconCacheLock.Unlock()
195 faviconCache[key] = &item
196}

Callers 1

triggerAsyncFetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected