MCPcopy
hub / github.com/cli/cli / WithStderr

Function WithStderr

git/command.go:89–93  ·  view source on GitHub ↗
(stderr io.Writer)

Source from the content-addressed store, hash-verified

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

Callers 2

cloneWithRetryFunction · 0.92
handlePushFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected