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

Function ref

graph-ui/src/tours/entry-walk.test.ts:19–28  ·  view source on GitHub ↗
(name: string, file: string, line: number, qualified = true)

Source from the content-addressed store, hash-verified

17const ROOT = '/workspace';
18
19function ref(name: string, file: string, line: number, qualified = true): SymbolRef {
20 return {
21 ...(qualified ? { nodeId: `p.${name}`, qualifiedName: `p.${name}` } : {}),
22 name,
23 kind: 'function',
24 uri: file.length === 0 ? '' : `file://${ROOT}/${file}`,
25 range: toEditorRange(line, line),
26 selectionRange: toEditorRange(line, line),
27 };
28}
29
30const CLOSURE: ClosureResult = {
31 root: ref('createUser', 'src/services/userService.ts', 23),

Callers 1

entry-walk.test.tsFile · 0.85

Calls 1

toEditorRangeFunction · 0.90

Tested by

no test coverage detected