MCPcopy Create free account
hub / github.com/git-bug/git-bug / CommentTimelineItem

Struct CommentTimelineItem

entities/bug/timeline.go:28–36  ·  view source on GitHub ↗

CommentTimelineItem is a TimelineItem that holds a Comment and its edition history

Source from the content-addressed store, hash-verified

26
27// CommentTimelineItem is a TimelineItem that holds a Comment and its edition history
28type 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
38func NewCommentTimelineItem(comment Comment) CommentTimelineItem {
39 return CommentTimelineItem{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected