MCPcopy
hub / github.com/git-lfs/git-lfs / Print

Function Print

commands/commands.go:216–222  ·  view source on GitHub ↗

Print prints a formatted message to Stdout. It also gets printed to the panic log if one is created for this command.

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

214// Print prints a formatted message to Stdout. It also gets printed to the
215// panic log if one is created for this command.
216func Print(format string, args ...interface{}) {
217 if len(args) == 0 {
218 fmt.Fprintln(OutputWriter, format)
219 return
220 }
221 fmt.Fprintf(OutputWriter, format+"\n", args...)
222}
223
224// Exit prints a formatted message and exits.
225func Exit(format string, args ...interface{}) {

Callers 15

lsFilesCommandFunction · 0.85
locksCommandFunction · 0.85
installCommandFunction · 0.85
cmdInstallOptionsFunction · 0.85
envCommandFunction · 0.85
checkoutCommandFunction · 0.85
logsCommandFunction · 0.85
logsLastCommandFunction · 0.85
logsShowCommandFunction · 0.85
logsClearCommandFunction · 0.85
lockCommandFunction · 0.85
requireInRepoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected