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

Function firstLine

src/ui-server/api/wire.ts:312–314  ·  view source on GitHub ↗
(relation: WireRelation)

Source from the content-addressed store, hash-verified

310
311/** First call-site line of a relation, for line-anchored ordering. Unlined rows sort last. */
312export function firstLine(relation: WireRelation): number {
313 return relation.lines[0] ?? Number.MAX_SAFE_INTEGER;
314}
315
316/** Node kinds that count as "a type" for the Symbol view's "types used" chips. */
317export const TYPE_KINDS: ReadonlySet<NodeKind> = new Set<NodeKind>([

Callers 2

buildNodeFunction · 0.90
buildCallsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected