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

Function payload

__tests__/ui-entry-model.test.ts:106–132  ·  view source on GitHub ↗
(over: Partial<WireEntryPoints> = {})

Source from the content-addressed store, hash-verified

104}
105
106function payload(over: Partial<WireEntryPoints> = {}): WireEntryPoints {
107 return {
108 frameworks: ['go'],
109 routes: {
110 routed: true,
111 routeCount: 4,
112 items: { total: 2, shown: 2, truncated: false, items: [route(), route({
113 url: 'GET /healthz',
114 method: 'GET',
115 path: '/healthz',
116 handler: 'health',
117 handlerKind: 'function',
118 file: 'internal/transport/httpapi/router.go',
119 line: 16,
120 handlerId: 'function:health',
121 routeLine: 12,
122 routeId: 'route:router.go:12:GET:/healthz',
123 })] },
124 },
125 files: { total: 92, shown: 1, truncated: true, items: [file()] },
126 tests: { total: 1, shown: 1, truncated: false, items: [test()] },
127 hubs: { total: 351, shown: 1, truncated: true, items: [hub()] },
128 index: { lastIndexedAt: 1, files: 20 },
129 timing: { elapsedMs: 3, cached: false },
130 ...over,
131 } as WireEntryPoints;
132}
133
134/* ---------------------------------------------------------------- panel -- */
135

Callers 1

Calls 4

routeFunction · 0.70
fileFunction · 0.70
testFunction · 0.70
hubFunction · 0.70

Tested by

no test coverage detected