MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / driftFor

Function driftFor

src/ui-server/api/node.ts:504–508  ·  view source on GitHub ↗
(cg: CodeGraph, projectRoot: string, filePath: string)

Source from the content-addressed store, hash-verified

502// =============================================================================
503
504function driftFor(cg: CodeGraph, projectRoot: string, filePath: string): boolean {
505 const found = findIndexedFile(cg, filePath);
506 if (!found) return false;
507 return hasDriftedOnDisk(projectRoot, found.storedPath, found.record);
508}

Callers 1

buildNodeFunction · 0.85

Calls 2

findIndexedFileFunction · 0.90
hasDriftedOnDiskFunction · 0.90

Tested by

no test coverage detected