MCPcopy Create free account
hub / github.com/moby/moby / Updatef

Function Updatef

client/pkg/progress/progress.go:74–76  ·  view source on GitHub ↗

Updatef is a convenience function to write a printf-formatted progress update to the channel.

(out Output, id, format string, a ...any)

Source from the content-addressed store, hash-verified

72// Updatef is a convenience function to write a printf-formatted progress update
73// to the channel.
74func 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.
79func Message(out Output, id, message string) {

Callers

nothing calls this directly

Calls 1

WriteProgressMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…