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

Method Done

cmd/display/tty.go:177–186  ·  cmd/display/tty.go::ttyWriter.Done
(operation string, success bool)

Source from the content-addressed store, hash-verified

175}
176
177func (w *ttyWriter) Done(operation string, success bool) {
178 w.print()
179 w.done <- true
180 w.mtx.Lock()
181 defer w.mtx.Unlock()
182 if w.ticker != nil {
183 w.ticker.Stop()
184 }
185 w.operation = ""
186}
187
188func (w *ttyWriter) On(events ...api.Resource) {
189 w.mtx.Lock()

Callers

nothing calls this directly

Calls 3

printMethod · 0.95
StopMethod · 0.65
LockMethod · 0.45

Tested by

no test coverage detected