MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewTeePrinter

Function NewTeePrinter

cf/terminal/tee_printer.go:15–20  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

13}
14
15func NewTeePrinter(w io.Writer) *TeePrinter {
16 return &TeePrinter{
17 outputBucket: ioutil.Discard,
18 stdout: w,
19 }
20}
21
22func (t *TeePrinter) SetOutputBucket(bucket io.Writer) {
23 if bucket == nil {

Callers 5

MainFunction · 0.92
NewDependencyFunction · 0.92
ui_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected