MCPcopy
hub / github.com/cli/cli / OutputStub

Struct OutputStub

test/helpers.go:24–27  ·  view source on GitHub ↗

OutputStub implements a simple utils.Runnable

Source from the content-addressed store, hash-verified

22
23// OutputStub implements a simple utils.Runnable
24type OutputStub struct {
25 Out []byte
26 Error error
27}
28
29func (s OutputStub) Output() ([]byte, error) {
30 if s.Error != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected