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

Function hubRow

ui/src/lib/entry-model.ts:177–188  ·  view source on GitHub ↗
(hub: WireEntryHub)

Source from the content-addressed store, hash-verified

175}
176
177export function hubRow(hub: WireEntryHub): EntryRow {
178 return {
179 id: `hub:${hub.id}`,
180 name: hub.name,
181 method: null,
182 kind: hub.kind,
183 meta: `${plural(hub.dependents, 'dependent')} · ${basename(hub.file)}:${hub.line}`,
184 target: { type: 'symbol', id: hub.id, name: hub.name, kind: hub.kind },
185 flowFrom: hub.name,
186 title: `${hub.qualifiedName} — ${hub.file}:${hub.line}`,
187 };
188}
189
190/* ----------------------------------------------------------------- panel -- */
191

Callers 1

buildEntryPanelFunction · 0.85

Calls 2

pluralFunction · 0.90
basenameFunction · 0.90

Tested by

no test coverage detected