MCPcopy Create free account
hub / github.com/cli/cli / WithStderr

Function WithStderr

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

Source from the content-addressed store, hash-verified

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

Callers 2

cloneWithRetryFunction · 0.92
handlePushFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected