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

Method resolveReferences

src/index.ts:1218–1222  ·  view source on GitHub ↗

* Resolve unresolved references and create edges * * This method takes unresolved references from extraction and attempts * to resolve them using multiple strategies: * - Framework-specific patterns (React, Express, Laravel) * - Import-based resolution * - Name-based symbol matchin

(onProgress?: (current: number, total: number) => void)

Source from the content-addressed store, hash-verified

1216 * - Name-based symbol matching
1217 */
1218 resolveReferences(onProgress?: (current: number, total: number) => void): ResolutionResult {
1219 // Get all unresolved references from the database
1220 const unresolvedRefs = this.queries.getUnresolvedReferences();
1221 return this.resolver.resolveAndPersist(unresolvedRefs, onProgress);
1222 }
1223
1224 /**
1225 * Resolve references in batches to keep memory bounded on large codebases.

Calls 2

resolveAndPersistMethod · 0.80

Tested by

no test coverage detected