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

Method getImportMappings

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

Get cached import mappings for a file

(filePath: string, language: Language)

Source from the content-addressed store, hash-verified

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

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected