(statsOnly bool, msg string, args ...any)
| 395 | } |
| 396 | |
| 397 | func (c *Comparer) output(statsOnly bool, msg string, args ...any) { |
| 398 | if !statsOnly { |
| 399 | fmt.Fprintf(c.out, msg, args...) //nolint:errcheck |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | // NewComparer creates a comparer for a given repository that will output the results to a given writer. |
| 404 | func NewComparer(out io.Writer, statsOnly bool) (*Comparer, error) { |
no outgoing calls
no test coverage detected