MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / getFile

Method getFile

frontend/src/cache.ts:360–363  ·  view source on GitHub ↗

* Get cached file data

(filePath: string)

Source from the content-addressed store, hash-verified

358 * Get cached file data
359 */
360 getFile(filePath: string): FileCache | null {
361 const normalizedPath = this.toRelativePath(filePath);
362 return this.files[normalizedPath] || null;
363 }
364
365 /**
366 * Debug: Get info about why a file might be uncached

Callers 1

buildMetadataContextFunction · 0.80

Calls 1

toRelativePathMethod · 0.95

Tested by

no test coverage detected