MCPcopy
hub / github.com/anomalyco/opencode / line

Function line

packages/app/src/context/comments.test.ts:24–32  ·  view source on GitHub ↗
(file: string, id: string, time: number)

Source from the content-addressed store, hash-verified

22})
23
24function line(file: string, id: string, time: number): LineComment {
25 return {
26 id,
27 file,
28 comment: id,
29 time,
30 selection: { start: 1, end: 1 },
31 }
32}
33
34describe("comments session indexing", () => {
35 test("keeps file list behavior and aggregate chronological order", () => {

Callers 1

comments.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected