Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ reset
Function
reset
packages/app/src/context/file/content-cache.ts:39–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
}
38
39
function
reset() {
40
lru.clear()
41
total = 0
42
}
43
44
export
function
evictContentLru(keep: Set<string> | undefined, evict: (path: string) => void) {
45
const
set = keep ??
new
Set<string>()
Callers
1
resetFileContentLru
Function · 0.70
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected