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

Method getImportMappings

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

Get cached import mappings for a file

(filePath: string, language: Language)

Source from the content-addressed store, hash-verified

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

Callers 15

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

Calls

no outgoing calls

Tested by

no test coverage detected