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

Function envReads

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

Source from the content-addressed store, hash-verified

403 * which is why this is its own query rather than a filter on type references.
404 */
405export function envReads(qualifiedName: string, limit = DEFAULT_LIMIT): string {
406 return `MATCH (a)-[r:${RELATIONS.environment}]->(b:${ENV_LABEL})`
407 + ` WHERE a.${NODE_PROPS.qualifiedName} = "${escapeLiteral(qualifiedName)}"`
408 + ` ${ret(COLUMNS.envReads)} LIMIT ${safeLimit(limit)}`;
409}
410
411/** Labels whose nodes carry the per-symbol complexity readings. */
412export const CALLABLE_LABELS = ['Function', 'Method'] as const;

Callers 1

envReadsFactMethod · 0.90

Calls 3

escapeLiteralFunction · 0.85
retFunction · 0.85
safeLimitFunction · 0.85

Tested by

no test coverage detected