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

Function tryWithExt

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

Source from the content-addressed store, hash-verified

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