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

Function fn

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

Source from the content-addressed store, hash-verified

1039 cg = await CodeGraph.init(tempDir, { index: true });
1040
1041 const fn = (name: string) => cg.getNodesByKind('function').find((n) => n.name === name)!;
1042 const instTargets = (name: string) =>
1043 cg
1044 .getOutgoingEdges(fn(name).id)

Callers 10

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

Calls 1

getNodesByKindMethod · 0.65

Tested by

no test coverage detected