MCPcopy Create free account
hub / github.com/aptly-dev/aptly / Printf

Method Printf

task/output.go:109–111  ·  view source on GitHub ↗

Printf does printf in a safe manner

(msg string, a ...interface{})

Source from the content-addressed store, hash-verified

107
108// Printf does printf in a safe manner
109func (t *Output) Printf(msg string, a ...interface{}) {
110 _, _ = t.WriteString(fmt.Sprintf(msg, a...))
111}
112
113// Print does printf in a safe manner
114func (t *Output) Print(msg string) {

Callers

nothing calls this directly

Calls 1

WriteStringMethod · 0.95

Tested by

no test coverage detected