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

Method getImportMappings

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

Get cached import mappings for a file

(filePath: string, language: Language)

Source from the content-addressed store, hash-verified

100 getNodeById?(id: string): Node | null;
101 /** Get cached import mappings for a file */
102 getImportMappings(filePath: string, language: Language): ImportMapping[];
103 /**
104 * Project import-path aliases (tsconfig/jsconfig `paths`). Returns
105 * `null` when the project doesn't define any. Cached per resolver

Callers 4

resolveViaImportFunction · 0.80
importedFqnOfFunction · 0.80
matchMethodCallFunction · 0.80
matchesAnyImportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected