MCPcopy Index your code
hub / github.com/rilldata/rill / humanOut

Method humanOut

cli/pkg/printer/printer.go:148–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148func (p *Printer) humanOut() io.Writer {
149 if p.humanOutOverride != nil {
150 return p.humanOutOverride
151 }
152
153 if p.Format == FormatHuman {
154 return color.Output
155 }
156
157 return io.Discard
158}
159
160func (p *Printer) dataOut() io.Writer {
161 if p.dataOutOverride != nil {

Callers 3

PrintMethod · 0.95
PrintlnMethod · 0.95
PrintfMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected