MCPcopy 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
53func (s *FileStore) getCacheSize() int {
54 s.Lock.Lock()
55 defer s.Lock.Unlock()
56 return len(s.Cache)
57}
58
59func (s *FileStore) clearCache() {
60 s.Lock.Lock()

Callers 2

TestSetMetaFunction · 0.80
TestSimpleDBFlushFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected