Skip to main content

Module session

Module session 

Source
Expand description

Review session: comments and per-file viewed marks, reconciled against fresh diff models. Persistence lives in store.

Structs§

Anchor
Where a comment is anchored. line (and line_end for visual ranges) is the new-side line number unless the line is a deletion, then it is the old-side number with on_old_side.
Comment
Reply
Session

Enums§

CommentStatus

Functions§

now_unix
now_unix_millis
Unix milliseconds, for a stamp that also has to order two things made in the same second. A stamp in seconds is smaller than any of these, so the two sort together and the older one still reads as older.