MCPcopy
hub / github.com/wagoodman/dive / Render

Method Render

runtime/ui/controller.go:145–155  ·  view source on GitHub ↗

Render flushes the state objects to the screen.

()

Source from the content-addressed store, hash-verified

143
144// Render flushes the state objects to the screen.
145func (c *Controller) Render() error {
146 for _, controller := range c.views.All() {
147 if controller.IsVisible() {
148 err := controller.Render()
149 if err != nil {
150 return err
151 }
152 }
153 }
154 return nil
155}
156
157//nolint:dupl
158func (c *Controller) NextPane() (err error) {

Callers 1

UpdateAndRenderMethod · 0.95

Calls 3

AllMethod · 0.80
IsVisibleMethod · 0.65
RenderMethod · 0.65

Tested by

no test coverage detected