MCPcopy Create free account
hub / github.com/getagentseal/codeburn / makeCachedFile

Function makeCachedFile

tests/session-cache.test.ts:68–75  ·  view source on GitHub ↗
(overrides: Partial<CachedFile> = {})

Source from the content-addressed store, hash-verified

66}
67
68function makeCachedFile(overrides: Partial<CachedFile> = {}): CachedFile {
69 return {
70 fingerprint: { dev: 1, ino: 100, mtimeMs: 1000, sizeBytes: 5000 },
71 mcpInventory: [],
72 turns: [makeTurn()],
73 ...overrides,
74 }
75}
76
77// ── emptyCache ─────────────────────────────────────────────────────────
78

Callers 1

Calls 1

makeTurnFunction · 0.70

Tested by

no test coverage detected