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

Struct Snapshot

entities/bug/snapshot.go:16–31  ·  view source on GitHub ↗

Snapshot is a compiled form of the Bug data structure used for storage and merge

Source from the content-addressed store, hash-verified

14
15// Snapshot is a compiled form of the Bug data structure used for storage and merge
16type Snapshot struct {
17 id entity.Id
18
19 Status common.Status
20 Title string
21 Comments []Comment
22 Labels []common.Label
23 Author identity.Interface
24 Actors []identity.Interface
25 Participants []identity.Interface
26 CreateTime time.Time
27
28 Timeline []TimelineItem
29
30 Operations []dag.Operation
31}
32
33// Id returns the Bug identifier
34func (snap *Snapshot) Id() entity.Id {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected