Updatef is a convenience function to write a printf-formatted progress update to the channel.
(out Output, id, format string, a ...any)
| 72 | // Updatef is a convenience function to write a printf-formatted progress update |
| 73 | // to the channel. |
| 74 | func Updatef(out Output, id, format string, a ...any) { |
| 75 | _ = out.WriteProgress(Progress{ID: id, Action: fmt.Sprintf(format, a...)}) |
| 76 | } |
| 77 | |
| 78 | // Message is a convenience function to write a progress message to the channel. |
| 79 | func Message(out Output, id, message string) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…