MCPcopy Create free account
hub / github.com/ReviewStage/stage-cli / threadComments

Function threadComments

packages/cli/src/routes/comments.ts:259–266  ·  view source on GitHub ↗
(db: StageDb, threadId: string)

Source from the content-addressed store, hash-verified

257}
258
259function threadComments(db: StageDb, threadId: string): CommentRow[] {
260 return db
261 .select()
262 .from(comment)
263 .where(eq(comment.threadId, threadId))
264 .orderBy(asc(comment.createdAt))
265 .all();
266}
267
268function threadExists(db: StageDb, threadId: string): boolean {
269 return (

Callers 1

commentRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected