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 | |
| 177 | func (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 | |
| 188 | func (w *ttyWriter) On(events ...api.Resource) { |
| 189 | w.mtx.Lock() |
Callers
nothing calls this directly
Tested by
no test coverage detected