MCPcopy
hub / github.com/colbymchenry/codegraph / fn

Function fn

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

Source from the content-addressed store, hash-verified

949 cg = await CodeGraph.init(tempDir, { index: true });
950
951 const fn = (name: string) => cg.getNodesByKind('function').find((n) => n.name === name)!;
952 const instTargets = (name: string) =>
953 cg
954 .getOutgoingEdges(fn(name).id)

Callers 8

withEnvFunction · 0.70
instTargetsFunction · 0.70
withLockMethod · 0.50
withLockAsyncMethod · 0.50
withLockMethod · 0.50
debounceFunction · 0.50
throttleFunction · 0.50
transactionMethod · 0.50

Calls 1

getNodesByKindMethod · 0.65

Tested by

no test coverage detected