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

Function getEntry

src/codex-cache.ts:52–59  ·  view source on GitHub ↗
(cache: ResultCache, filePath: string, fp: FileFingerprint)

Source from the content-addressed store, hash-verified

50}
51
52function getEntry(cache: ResultCache, filePath: string, fp: FileFingerprint): FileEntry | null {
53 if (!Object.hasOwn(cache.files, filePath)) return null
54 const entry = cache.files[filePath]
55 if (entry && entry.mtimeMs === fp.mtimeMs && entry.sizeBytes === fp.sizeBytes) {
56 return entry
57 }
58 return null
59}
60
61export async function readCachedCodexResults(
62 filePath: string,

Callers 2

readCachedCodexResultsFunction · 0.85
getCachedCodexProjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected