CommentTimelineItem is a TimelineItem that holds a Comment and its edition history
| 26 | |
| 27 | // CommentTimelineItem is a TimelineItem that holds a Comment and its edition history |
| 28 | type CommentTimelineItem struct { |
| 29 | combinedId entity.CombinedId |
| 30 | Author identity.Interface |
| 31 | Message string |
| 32 | Files []repository.Hash |
| 33 | CreatedAt timestamp.Timestamp |
| 34 | LastEdit timestamp.Timestamp |
| 35 | History []CommentHistoryStep |
| 36 | } |
| 37 | |
| 38 | func NewCommentTimelineItem(comment Comment) CommentTimelineItem { |
| 39 | return CommentTimelineItem{ |
nothing calls this directly
no outgoing calls
no test coverage detected