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

Method getImportMappings

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

Get cached import mappings for a file

(filePath: string, language: Language)

Source from the content-addressed store, hash-verified

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

Callers 15

resolveViaImportFunction · 0.80
isBoundToOutOfRepoImportFunction · 0.80
matchMemberFunctionRefFunction · 0.80
pythonRefClassFunction · 0.80
importedFqnOfFunction · 0.80
resolveAwaitedCallTypeFunction · 0.80
matchMethodCallFunction · 0.80
matchGoFieldChainCallFunction · 0.80
resolveStoreActionFunction · 0.80
matchesAnyImportMethod · 0.80
isPythonProjectModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected