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

Method Print

task/output.go:114–116  ·  view source on GitHub ↗

Print does printf in a safe manner

(msg string)

Source from the content-addressed store, hash-verified

112
113// Print does printf in a safe manner
114func (t *Output) Print(msg string) {
115 _, _ = t.WriteString(msg)
116}
117
118// ColoredPrintf does printf in a safe manner + newline
119// currently are no colors supported.

Callers 4

InitMethod · 0.80
runMethod · 0.80
consumerMethod · 0.80
aptlyTaskRunFunction · 0.80

Calls 1

WriteStringMethod · 0.95

Tested by

no test coverage detected