MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / callsOut

Function callsOut

graph-ui/src/provider/cypher.ts:351–356  ·  view source on GitHub ↗
(qualifiedName: string, limit = DEFAULT_LIMIT)

Source from the content-addressed store, hash-verified

349
350/** Outgoing invocations of a symbol, one row per distinct target. */
351export function callsOut(qualifiedName: string, limit = DEFAULT_LIMIT): string {
352 return `MATCH (a)-[r:${RELATIONS.invocation}]->(b)`
353 + ` WHERE a.${NODE_PROPS.qualifiedName} = "${escapeLiteral(qualifiedName)}"`
354 + ` ${ret(COLUMNS.callsOut)}`
355 + ` ORDER BY r.${REL_PROPS.line} LIMIT ${safeLimit(limit)}`;
356}
357
358/**
359 * Outgoing invocations whose target is a class. The engine records a

Callers 2

outgoingHopFactsMethod · 0.90
calleesFactMethod · 0.90

Calls 3

escapeLiteralFunction · 0.85
retFunction · 0.85
safeLimitFunction · 0.85

Tested by

no test coverage detected