MCPcopy
hub / github.com/colbymchenry/codegraph / resolveReferences

Method resolveReferences

src/index.ts:783–787  ·  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

781 * - Name-based symbol matching
782 */
783 resolveReferences(onProgress?: (current: number, total: number) => void): ResolutionResult {
784 // Get all unresolved references from the database
785 const unresolvedRefs = this.queries.getUnresolvedReferences();
786 return this.resolver.resolveAndPersist(unresolvedRefs, onProgress);
787 }
788
789 /**
790 * Resolve references in batches to keep memory bounded on large codebases.

Callers 5

resolution.test.tsFile · 0.80
graph.test.tsFile · 0.80
extraction.test.tsFile · 0.80

Calls 2

resolveAndPersistMethod · 0.80

Tested by

no test coverage detected