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

Method resolveReferences

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

1147 * - Name-based symbol matching
1148 */
1149 resolveReferences(onProgress?: (current: number, total: number) => void): ResolutionResult {
1150 // Get all unresolved references from the database
1151 const unresolvedRefs = this.queries.getUnresolvedReferences();
1152 return this.resolver.resolveAndPersist(unresolvedRefs, onProgress);
1153 }
1154
1155 /**
1156 * Resolve references in batches to keep memory bounded on large codebases.

Calls 2

resolveAndPersistMethod · 0.80

Tested by

no test coverage detected