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