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

Method getImportMappings

src/resolution/types.ts:210–210  ·  view source on GitHub ↗

Get cached import mappings for a file

(filePath: string, language: Language)

Source from the content-addressed store, hash-verified

208 getNodeById?(id: string): Node | null;
209 /** Get cached import mappings for a file */
210 getImportMappings(filePath: string, language: Language): ImportMapping[];
211 /** Import lookup supplied by the coordinator, keeping name matching from
212 * importing the import resolver (which itself uses name-matching helpers).
213 * Minimal contexts without import resolution may omit this capability. */

Callers 15

pythonModuleOfScriptFunction · 0.80
pythonPackageImportersFunction · 0.80
isJsBareModuleRefFunction · 0.80
resolveViaImportFunction · 0.80
reachesAmbientModuleFunction · 0.80
isBoundToOutOfRepoImportFunction · 0.80
importBindingTailFunction · 0.80
pythonImportBindingTailFunction · 0.80
matchesAnyImportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected