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

Method Confirm

cmd/prompt/prompt.go:33–33  ·  view source on GitHub ↗
(message string, defaultValue bool)

Source from the content-addressed store, hash-verified

31// UI - prompt user input
32type UI interface {
33 Confirm(message string, defaultValue bool) (bool, error)
34}
35
36func NewPrompt(stdin *streams.In, stdout *streams.Out) UI {

Callers 2

confirmRemoteIncludesFunction · 0.65

Implementers 4

MockUIcmd/prompt/prompt_mock.go
MockUIMockRecordercmd/prompt/prompt_mock.go
Usercmd/prompt/prompt.go
Pipecmd/prompt/prompt.go

Calls

no outgoing calls

Tested by

no test coverage detected