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

Function line

graph-ui/src/browser-ai/relationship-answer.test.ts:6–6  ·  view source on GitHub ↗
(markdown: string, type: string)

Source from the content-addressed store, hash-verified

4import { correctRelationWords, relationshipAnswer, relationshipQuestion, relationshipSuggestion } from './relationship-answer';
5
6const line = (markdown: string, type: string) => markdown.split('\n').find(item => item.startsWith(`- **${type} (`)) ?? '';
7/** How a listed answer about JSONBAgg begins: its callers, or that it calls nothing (it only inherits). */
8const heading = (side: 'incoming' | 'outgoing', language: 'en' | 'de') => side === 'incoming'
9 ? language === 'de' ? '11 Aufrufer (CALLS) von `JSONBAgg` im geladenen Graphen.' : '11 callers (CALLS) of `JSONBAgg` in the loaded graph.'

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected