(stderr io.Writer)
| 84 | type CommandModifier func(*Command) |
| 85 | |
| 86 | func WithStderr(stderr io.Writer) CommandModifier { |
| 87 | return func(gc *Command) { |
| 88 | gc.Stderr = stderr |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | func WithStdout(stdout io.Writer) CommandModifier { |
| 93 | return func(gc *Command) { |
no outgoing calls
no test coverage detected