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

Method saveAndBack

termui/show_bug.go:454–464  ·  view source on GitHub ↗
(g *gocui.Gui, v *gocui.View)

Source from the content-addressed store, hash-verified

452}
453
454func (sb *showBug) saveAndBack(g *gocui.Gui, v *gocui.View) error {
455 err := sb.bug.CommitAsNeeded()
456 if err != nil {
457 return err
458 }
459 err = ui.activateWindow(ui.bugTable)
460 if err != nil {
461 return err
462 }
463 return nil
464}
465
466func (sb *showBug) scrollUp(g *gocui.Gui, v *gocui.View) error {
467 mainView, err := g.View(showBugView)

Callers

nothing calls this directly

Calls 2

activateWindowMethod · 0.80
CommitAsNeededMethod · 0.65

Tested by

no test coverage detected