MCPcopy Index your code
hub / github.com/getagentseal/codeburn / wrapFile

Function wrapFile

tests/session-cache.test.ts:455–462  ·  view source on GitHub ↗
(fileOverride: Record<string, unknown>)

Source from the content-addressed store, hash-verified

453 }
454
455 function wrapFile(fileOverride: Record<string, unknown>) {
456 return {
457 version: CACHE_VERSION,
458 providers: { claude: { envFingerprint: 'x', files: {
459 '/f': { fingerprint: { dev: 1, ino: 2, mtimeMs: 3, sizeBytes: 4 }, mcpInventory: [], turns: [], ...fileOverride },
460 } } },
461 }
462 }
463
464 it('rejects tools containing non-string element', async () => {
465 await writeRawCache(wrapCall({ tools: ['Read', 42] }))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected