(cg: CodeGraph, projectRoot: string, filePath: string)
| 502 | // ============================================================================= |
| 503 | |
| 504 | function 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 | } |
no test coverage detected