MCPcopy Create free account
hub / github.com/ECSTeam/cloudfoundry-top-plugin / clearStats

Method clearStats

ui/masterUi.go:532–536  ·  view source on GitHub ↗
(g *gocui.Gui, v *gocui.View)

Source from the content-addressed store, hash-verified

530}
531
532func (mui *MasterUI) clearStats(g *gocui.Gui, v *gocui.View) error {
533 mui.router.Clear()
534 mui.updateDisplay(g)
535 return nil
536}
537
538func (mui *MasterUI) toggleDisplayPauseAction(g *gocui.Gui, v *gocui.View) error {
539 mui.SetDisplayPaused(!mui.GetDisplayPaused())

Callers

nothing calls this directly

Calls 2

updateDisplayMethod · 0.95
ClearMethod · 0.45

Tested by

no test coverage detected