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

Function fn

__tests__/resolution.test.ts:1439–1439  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1437 cg = await CodeGraph.init(tempDir, { index: true });
1438
1439 const fn = (name: string) => cg.getNodesByKind('function').find((n) => n.name === name)!;
1440 const instTargets = (name: string) =>
1441 cg
1442 .getOutgoingEdges(fn(name).id)

Callers 15

untilFunction · 0.70
withEnvFunction · 0.70
ui-package.test.tsFile · 0.70
instTargetsFunction · 0.70
withDbFunction · 0.70
withLockMethod · 0.50
withLockAsyncMethod · 0.50
withLockMethod · 0.50
debounceFunction · 0.50
throttleFunction · 0.50
nmTimedTFunction · 0.50
eachFunction · 0.50

Calls 1

getNodesByKindMethod · 0.65

Tested by

no test coverage detected