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

Method resolveModuleFile

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

* The project file a module specifier, written in `fromFile`, names — the * import resolver's own answer (for Python: from the package roots), or null * when no project file provides it. Supplied by the coordinator.

(source: string, fromFile: string, language: Language)

Source from the content-addressed store, hash-verified

225 * when no project file provides it. Supplied by the coordinator.
226 */
227 resolveModuleFile?(source: string, fromFile: string, language: Language): string | null;
228 /**
229 * Whether `source`, imported from `fromFile`, is a package: one the file's
230 * package.json or an enclosing one declares, a Node built-in, or a

Callers 2

resolvesToAddedMethod · 0.65
syncMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected