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

Function tryWithExt

src/resolution/import-resolver.ts:1767–1767  ·  view source on GitHub ↗
(basePath: string)

Source from the content-addressed store, hash-verified

1765 fromFile?: string
1766): string | null {
1767 const tryWithExt = (basePath: string): string | null => tryWithExtensions(basePath, language, context);
1768
1769 // 1. tsconfig/jsconfig paths: the config nearest the importing file (an
1770 // app of a monorepo keeps its own `@/*`), then the project root's.

Callers 1

resolveAliasedImportFunction · 0.85

Calls 1

tryWithExtensionsFunction · 0.85

Tested by

no test coverage detected