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

Method clearCache

pkg/filestore/blockstore_test.go:59–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func (s *FileStore) clearCache() {
60 s.Lock.Lock()
61 defer s.Lock.Unlock()
62 s.Cache = make(map[cacheKey]*CacheEntry)
63}
64
65//lint:ignore U1000 used for testing
66func (s *FileStore) dump() string {

Callers 1

cleanupDbFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected