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

Method resolveModuleFile

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

3682
3683 /** The project file a module specifier written in `fromFile` names, as its import resolves it; null when none. */
3684 resolveModuleFile(specifier: string, fromFile: string, language: Language): string | null {
3685 return resolveImportPath(specifier, fromFile, language, this.context);
3686 }
3687
3688 /**
3689 * 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