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

Method getFailedModuleKeys

src/db/queries.ts:5187–5191  ·  view source on GitHub ↗

* The keys failed references wait for a module under (`module:pages`), each * once. Reads only the failed rows parked under such keys: a range of * idx_unresolved_failed_tail, or the whole of * idx_unresolved_failed_module_name.

()

Source from the content-addressed store, hash-verified

5185 * idx_unresolved_failed_module_name.
5186 */
5187 getFailedModuleKeys(): string[] {
5188 return (this.db
5189 .prepare(`SELECT DISTINCT name_tail AS key FROM unresolved_refs WHERE status = 'failed' AND name_tail GLOB 'module:*'`)
5190 .all() as Array<{ key: string }>).map((row) => row.key);
5191 }
5192
5193 /**
5194 * Put failed refs back in the pending set, for the next resolution pass —

Callers 1

Calls 3

mapMethod · 0.80
allMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected