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

Method resolveModuleFile

src/resolution/index.ts:3696–3698  ·  view source on GitHub ↗

The project file a module specifier written in `fromFile` names, as its import resolves it; null when none.

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

Source from the content-addressed store, hash-verified

3694
3695 /** The project file a module specifier written in `fromFile` names, as its import resolves it; null when none. */
3696 resolveModuleFile(specifier: string, fromFile: string, language: Language): string | null {
3697 return resolveImportPath(specifier, fromFile, language, this.context);
3698 }
3699
3700 /**
3701 * What `ref` resolves to against the graph as it is now, writing nothing:

Callers

nothing calls this directly

Calls 1

resolveImportPathFunction · 0.90

Tested by

no test coverage detected