MCPcopy
hub / github.com/electerm/electerm / clear

Method clear

src/client/common/cache.js:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 clear () {
53 this.cache.clear()
54 this.save()
55 }
56}
57
58export const aiSuggestionsCache = new MapCache(100, 'ai-cmd-suggestion-cache')

Callers 13

TermClass · 0.80
handleClickFunction · 0.80
componentWillUnmountMethod · 0.80
handleFileDownloadMethod · 0.80
cleanupMethod · 0.80
componentWillUnmountMethod · 0.80
tab.jsFile · 0.80
clearOncesMethod · 0.80
initFunction · 0.80
cleanupFunction · 0.80
stopMethod · 0.80

Calls 1

saveMethod · 0.95

Tested by

no test coverage detected