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

Function logInDir

__tests__/resolution.test.ts:2184–2187  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

2182 cg.resolveReferences();
2183
2184 const logInDir = (dir: string) =>
2185 cg.getNodesByKind('method').find(
2186 (n) => n.name === 'log' && n.filePath.replace(/\\/g, '/').endsWith(`${dir}/svc.cpp`),
2187 )!;
2188 const callTargets = (fnName: string) =>
2189 cg
2190 .getOutgoingEdges(cg.getNodesByKind('function').find((n) => n.name === fnName)!.id)

Callers 1

resolution.test.tsFile · 0.85

Calls 1

getNodesByKindMethod · 0.65

Tested by

no test coverage detected