MCPcopy Create free account
hub / github.com/anchordotdev/cli / View

Method View

ui/driver.go:192–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190}
191
192func (d *Driver) View() string {
193 var out string
194 for _, mdl := range d.models {
195 out += mdl.View()
196 }
197
198 if out != "" {
199 d.recordGolden(d.replaced(out))
200 }
201
202 return out
203}
204
205func (d *Driver) replaced(out string) string {
206 replaced := spinnerReplacer.Replace(out)

Callers 1

ErrorViewMethod · 0.45

Calls 2

recordGoldenMethod · 0.95
replacedMethod · 0.95

Tested by

no test coverage detected