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

Function greetCallers

__tests__/sync.test.ts:660–663  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

658 }
659
660 function greetCallers(): string[] {
661 const def = greetDef();
662 return def ? cg.getCallers(def.id).map((c) => c.node.name) : [];
663 }
664
665 beforeEach(async () => {
666 testDir = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-1240-removal-'));

Callers 1

sync.test.tsFile · 0.85

Calls 3

greetDefFunction · 0.85
mapMethod · 0.80
getCallersMethod · 0.45

Tested by

no test coverage detected