MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / Close

Method Close

test/testutil/fakesurvey.go:266–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264}
265
266func (m *AskMocker) Close() {
267 m.Closed = true
268 close(m.Question)
269 close(m.Answer)
270}
271
272func (m *AskMocker) receiveQuestion() (survey.Prompt, *survey.AskOptions, bool) {
273 if m.Closed {

Callers 4

runExecutableRawOutputFunction · 0.45
CloseFunction · 0.45
CaptureConsoleOutputFunction · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected