MCPcopy
hub / github.com/docker/compose / Pipe

Struct Pipe

cmd/prompt/prompt.go:91–94  ·  view source on GitHub ↗

Pipe - aggregates prompt methods

Source from the content-addressed store, hash-verified

89
90// Pipe - aggregates prompt methods
91type Pipe struct {
92 stdout io.Writer
93 stdin io.Reader
94}
95
96// Confirm asks for yes or no input
97func (u Pipe) Confirm(message string, defaultValue bool) (bool, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected