MCPcopy
hub / github.com/claude-code-best/claude-code / set

Method set

src/utils/fileStateCache.ts:56–59  ·  view source on GitHub ↗
(key: string, value: FileState)

Source from the content-addressed store, hash-verified

54 }
55
56 set(key: string, value: FileState): this {
57 this.cache.set(normalize(key), value)
58 return this
59 }
60
61 has(key: string): boolean {
62 return this.cache.has(normalize(key))

Callers 15

savePendingPermissionFunction · 0.80
processMessageFunction · 0.80
handleGetFunction · 0.80
memoizedFunction · 0.80
connectMethod · 0.80
onMethod · 0.80
refreshToolsMethod · 0.80
resolveKeyWithChordStateFunction · 0.80
registerHandlerFunction · 0.80
subscribeFunction · 0.80

Calls 1

normalizeFunction · 0.50

Tested by 7

mockPortsFunction · 0.64
readPartialStreamFunction · 0.64
headersFunction · 0.64
buildTfVectorFunction · 0.64
onFunction · 0.64
onResponseFunction · 0.64
fakePortsFunction · 0.64