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

Function interruptAfterExtraction

__tests__/orphaned-refs-sweep.test.ts:54–57  ·  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

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

Callers 1

Calls 2

joinMethod · 0.45
indexFilesMethod · 0.45

Tested by

no test coverage detected