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

Method clear

pkg/filestore/blockstore_cache.go:87–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func (entry *CacheEntry) clear() {
88 entry.File = nil
89 entry.DataEntries = make(map[int]*DataCacheEntry)
90 entry.FlushErrors = 0
91}
92
93func (entry *CacheEntry) getOrCreateDataCacheEntry(partIdx int) *DataCacheEntry {
94 if entry.DataEntries[partIdx] == nil {

Callers 11

flushToDBMethod · 0.95
updateStateWithCodesFunction · 0.80
showContextMenuMethod · 0.80
countersClearFunction · 0.80
fitMethod · 0.80
handleTerminalKeydownMethod · 0.80
resetMethod · 0.80
DeleteFileMethod · 0.80
resetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected