MCPcopy Index your code
hub / github.com/anomalyco/opencode / clear

Function clear

packages/app/src/utils/scoped-cache.ts:91–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90
91 const clear = () => {
92 for (const [key, entry] of store) {
93 dispose(key, entry)
94 }
95 store.clear()
96 }
97
98 return {
99 get,

Callers

nothing calls this directly

Calls 2

disposeFunction · 0.70
clearMethod · 0.45

Tested by

no test coverage detected