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

Function interruptAfterExtraction

__tests__/orphaned-refs-sweep.test.ts:52–55  ·  view source on GitHub ↗

* Leave `relPath` in the exact on-disk state a resolution pass killed * mid-run leaves behind: content re-extracted (nodes + refs re-inserted, * old edges cascade-deleted, content hash stamped current) but resolution * never run. The content tweak is needed because re-extraction of * byt

(relPath: string)

Source from the content-addressed store, hash-verified

50 * sees NO changed files.
51 */
52 async function interruptAfterExtraction(relPath: string): Promise<void> {
53 fs.appendFileSync(path.join(testDir, relPath), '\n// interrupted-run edit\n');
54 await cg.indexFiles([relPath]);
55 }
56
57 function findMethod(name: string) {
58 const hit = cg

Callers 1

Calls 2

joinMethod · 0.45
indexFilesMethod · 0.45

Tested by

no test coverage detected