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

Function tryWithExt

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

Source from the content-addressed store, hash-verified

1519 fromFile?: string
1520): string | null {
1521 const tryWithExt = (basePath: string): string | null => tryWithExtensions(basePath, language, context);
1522
1523 // 1. tsconfig/jsconfig paths: the config nearest the importing file (an
1524 // 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