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

Function greetCallers

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

Source from the content-addressed store, hash-verified

628 }
629
630 function greetCallers(): string[] {
631 const def = greetDef();
632 return def ? cg.getCallers(def.id).map((c) => c.node.name) : [];
633 }
634
635 beforeEach(async () => {
636 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