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)
| 375 | // which have their format strings checked; for other names we would have |
| 376 | // to pass a parameter to every (go tool vet) invocation. |
| 377 | func (c *copier) Printf(format string, a ...any) { |
| 378 | fmt.Fprintf(c.reportWriter, format, a...) |
| 379 | } |
| 380 | |
| 381 | // close tears down state owned by copier. |
| 382 | func (c *copier) close() { |
no outgoing calls
no test coverage detected