MCPcopy Create free account
hub / github.com/containers/image / Printf

Method Printf

copy/copy.go:377–379  ·  view source on GitHub ↗

Printf writes a formatted string to c.reportWriter. Note that the method name Printf is not entirely arbitrary: (go tool vet) has a built-in list of functions/methods (whatever object they are for) which have their format strings checked; for other names we would have to pass a parameter to every (g

(format string, a ...any)

Source from the content-addressed store, hash-verified

375// which have their format strings checked; for other names we would have
376// to pass a parameter to every (go tool vet) invocation.
377func (c *copier) Printf(format string, a ...any) {
378 fmt.Fprintf(c.reportWriter, format, a...)
379}
380
381// close tears down state owned by copier.
382func (c *copier) close() {

Callers 6

copyMultipleImagesMethod · 0.95
sourceSignaturesMethod · 0.95
createSignaturesMethod · 0.95
printCopyInfoMethod · 0.95
copySingleImageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected