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

Function WithStderr

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

Source from the content-addressed store, hash-verified

71type CommandModifier func(*Command)
72
73func WithStderr(stderr io.Writer) CommandModifier {
74 return func(gc *Command) {
75 gc.Stderr = stderr
76 }
77}
78
79func WithStdout(stdout io.Writer) CommandModifier {
80 return func(gc *Command) {

Callers 2

cloneWithRetryFunction · 0.92
handlePushFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected