MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / CaptureOutput

Method CaptureOutput

testutil/exiter.go:22–24  ·  view source on GitHub ↗
(block func())

Source from the content-addressed store, hash-verified

20}
21
22func (oc *StdoutOutputCapturer) CaptureOutput(block func()) []string {
23 return io_helpers.CaptureOutput(block)
24}
25
26func (oc *StdoutOutputCapturer) CaptureOutputAndStatus(block func() int) ([]string, int) {
27 var status int

Callers

nothing calls this directly

Calls 1

CaptureOutputMethod · 0.65

Tested by

no test coverage detected