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

Function WithStdin

git/command.go:85–89  ·  view source on GitHub ↗
(stdin io.Reader)

Source from the content-addressed store, hash-verified

83}
84
85func WithStdin(stdin io.Reader) CommandModifier {
86 return func(gc *Command) {
87 gc.Stdin = stdin
88 }
89}
90
91func WithRepoDir(repoDir string) CommandModifier {
92 return func(gc *Command) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected