Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/wavetermdev/waveterm
/ getCacheSize
Method
getCacheSize
pkg/filestore/blockstore_test.go:53–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
}
52
53
func
(s *FileStore) getCacheSize() int {
54
s.Lock.Lock()
55
defer
s.Lock.Unlock()
56
return
len(s.Cache)
57
}
58
59
func
(s *FileStore) clearCache() {
60
s.Lock.Lock()
Callers
2
TestSetMeta
Function · 0.80
TestSimpleDBFlush
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected