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

Function init

pkg/suggestion/filewalk.go:44–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42)
43
44func init() {
45 go func() {
46 ticker := time.NewTicker(60 * time.Second)
47 defer ticker.Stop()
48 for range ticker.C {
49 cleanCache()
50 }
51 }()
52}
53
54func cleanCache() {
55 cacheMu.Lock()

Callers

nothing calls this directly

Calls 2

cleanCacheFunction · 0.85
StopMethod · 0.65

Tested by

no test coverage detected