MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cacheWith

Function cacheWith

graph-ui/src/browser-ai/agent-handover.test.ts:49–49  ·  view source on GitHub ↗
(urls: string[])

Source from the content-addressed store, hash-verified

47
48describe('a cached model (K10)', () => {
49 const cacheWith = (urls: string[]) => ({ has: vi.fn(async () => true), open: vi.fn(async () => ({ keys: async () => urls.map(url => new Request(url)) })) });
50
51 it('is cached only when every pinned file is in its dedicated cache', async () => {
52 const model = BROWSER_MODELS[0];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected