MCPcopy Index your code
hub / github.com/git-bug/git-bug / BugExcerpt

Struct BugExcerpt

cache/bug_excerpt.go:21–38  ·  view source on GitHub ↗

BugExcerpt hold a subset of the bug values to be able to sort and filter bugs efficiently without having to read and compile each raw bugs.

Source from the content-addressed store, hash-verified

19// BugExcerpt hold a subset of the bug values to be able to sort and filter bugs
20// efficiently without having to read and compile each raw bugs.
21type BugExcerpt struct {
22 id entity.Id
23
24 CreateLamportTime lamport.Time
25 EditLamportTime lamport.Time
26 CreateUnixTime int64
27 EditUnixTime int64
28
29 AuthorId entity.Id
30 Status common.Status
31 Labels []common.Label
32 Title string
33 LenComments int
34 Actors []entity.Id
35 Participants []entity.Id
36
37 CreateMetadata map[string]string
38}
39
40func NewBugExcerpt(b *BugCache) *BugExcerpt {
41 snap := b.Snapshot()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected