Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ clearResolveCache
Function
clearResolveCache
packages/dofs/src/fs/resolveCache.ts:127–129 ·
view source on GitHub ↗
(db: Database)
Source
from the content-addressed store, hash-verified
125
// Drop the entire cache for a Database. Used by tests and available as
126
// a blunt reset.
127
export
function
clearResolveCache(db: Database): void {
128
caches.get(db)?.clear();
129
}
Callers
1
fs-ops.bench.ts
File · 0.85
Calls
2
clear
Method · 0.65
get
Method · 0.65
Tested by
no test coverage detected