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

Function lineRef

__tests__/ui-highlight.test.ts:52–62  ·  view source on GitHub ↗
(over: Partial<LineRef>)

Source from the content-addressed store, hash-verified

50}
51
52function lineRef(over: Partial<LineRef>): LineRef {
53 return {
54 ident: 'x',
55 col: null,
56 targetId: 'method:x',
57 uncertain: false,
58 outside: false,
59 title: '',
60 ...over,
61 };
62}
63
64/** Which token an overlay ref claims — the whole point of the atomisation. */
65function claimedText(result: HighlightResult, line: number, ref: LineRef): string | undefined {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected