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

Function forwarded

src/resolution/frameworks/react.ts:549–552  ·  view source on GitHub ↗
(source: string, exported: string)

Source from the content-addressed store, hash-verified

547 const language = scriptLanguage(file);
548 const through = new Set(visited).add(file);
549 const forwarded = (source: string, exported: string): string | null => {
550 const target = resolveImportPath(source, file, language, context);
551 return target ? exportedComponent(target, exported, context, through, reads) : null;
552 };
553 const code = stripCommentsForRegex(context.readFile(file) ?? '', 'typescript');
554 const local = ownExport(code, name);
555 if (local) {

Callers 1

exportedComponentFunction · 0.85

Calls 2

resolveImportPathFunction · 0.90
exportedComponentFunction · 0.85

Tested by

no test coverage detected