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

Method SetBug

termui/show_bug.go:52–57  ·  view source on GitHub ↗
(bug *cache.BugCache)

Source from the content-addressed store, hash-verified

50}
51
52func (sb *showBug) SetBug(bug *cache.BugCache) {
53 sb.bug = bug
54 sb.scroll = 0
55 sb.selected = ""
56 sb.isOnSide = false
57}
58
59func (sb *showBug) layout(g *gocui.Gui) error {
60 maxX, maxY := g.Size()

Callers 3

newBugWithEditorFunction · 0.45
openBugMethod · 0.45
editLabelsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected