MCPcopy
hub / github.com/redspread/spread / printf

Method printf

cli/cli.go:77–83  ·  view source on GitHub ↗
(message string, data ...interface{})

Source from the content-addressed store, hash-verified

75}
76
77func (c SpreadCli) printf(message string, data ...interface{}) {
78 // add newline if doesn't have one
79 if !strings.HasSuffix(message, "\n") {
80 message = message + "\n"
81 }
82 fmt.Fprintf(c.out, message, data...)
83}
84
85func (c SpreadCli) fatalf(message string, data ...interface{}) {
86 c.printf(message, data...)

Callers 11

printStatusMethod · 0.95
DiffMethod · 0.95
ParamMethod · 0.95
InitMethod · 0.95
BuildMethod · 0.95
fatalfMethod · 0.95
ShowMethod · 0.95
RemoteMethod · 0.95
CommitMethod · 0.95
DeployMethod · 0.95
globalDeployMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected