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

Method resolveModuleFile

src/resolution/index.ts:3612–3614  ·  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

3610
3611 /** The project file a module specifier written in `fromFile` names, as its import resolves it; null when none. */
3612 resolveModuleFile(specifier: string, fromFile: string, language: Language): string | null {
3613 return resolveImportPath(specifier, fromFile, language, this.context);
3614 }
3615
3616 /**
3617 * 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