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

Function nodeRef

__tests__/ui-symbol-model.test.ts:34–47  ·  view source on GitHub ↗
(over: Partial<WireSymbolPayload['node']> = {})

Source from the content-addressed store, hash-verified

32/* ------------------------------------------------------------- fixtures -- */
33
34function nodeRef(over: Partial<WireSymbolPayload['node']> = {}): any {
35 return {
36 id: 'method:a',
37 kind: 'method',
38 name: 'load',
39 qualifiedName: 'Service::load',
40 file: 'src/service.ts',
41 line: 10,
42 endLine: 20,
43 language: 'typescript',
44 test: false,
45 ...over,
46 };
47}
48
49function relation(over: Partial<WireRelation> & { node?: any } = {}): WireRelation {
50 const { node, ...rest } = over;

Callers 4

relationFunction · 0.70
payloadFunction · 0.70
callerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected