MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / readFileSyncCached

Function readFileSyncCached

source code/utils/file.ts:351–354  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

349 * This is the preferred method for FileEditTool operations.
350 */
351export function readFileSyncCached(filePath: string): string {
352 const { content } = fileReadCache.readFile(filePath)
353 return content
354}
355
356/**
357 * Writes to a file and flushes the file to disk

Callers 2

normalizeFileEditInputFunction · 0.85

Calls 1

readFileMethod · 0.80

Tested by

no test coverage detected