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

Function entry

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

Source from the content-addressed store, hash-verified

80}
81
82function entry(over: Partial<WireOutlineEntry> & { id: string; name: string }): WireOutlineEntry {
83 return {
84 kind: 'function',
85 qualifiedName: over.name,
86 file: 'src/a.ts',
87 line: 1,
88 endLine: 1,
89 language: 'typescript',
90 test: false,
91 parentId: null,
92 depth: 0,
93 fanIn: 0,
94 fanOut: 0,
95 ...over,
96 } as WireOutlineEntry;
97}
98
99function payloadWith(calls: WireFileCall[], outline: WireOutlineEntry[] = []): WireFileCodePayload {
100 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected