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

Function node

__tests__/ui-filecode-model.test.ts:51–62  ·  view source on GitHub ↗
(over: Partial<WireNodeRef> & { id: string; name: string })

Source from the content-addressed store, hash-verified

49/* ------------------------------------------------------------- fixtures -- */
50
51function node(over: Partial<WireNodeRef> & { id: string; name: string }): WireNodeRef {
52 return {
53 kind: 'function',
54 qualifiedName: over.name,
55 file: 'src/a.ts',
56 line: 1,
57 endLine: 1,
58 language: 'typescript',
59 test: false,
60 ...over,
61 } as WireNodeRef;
62}
63
64function relation(target: WireNodeRef, lines: number[], over: Partial<WireRelation> = {}): WireRelation {
65 return {

Callers 2

localFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected