MCPcopy Create free account
hub / github.com/Masterminds/glide / Puts

Method Puts

msg/msg.go:203–211  ·  view source on GitHub ↗

Puts formats a message and then prints to Stdout. It does not prefix the message, does not color it, or otherwise decorate it. It does add a line feed.

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

Source from the content-addressed store, hash-verified

201//
202// It does add a line feed.
203func (m *Messenger) Puts(msg string, args ...interface{}) {
204 // When operations in Glide are happening concurrently messaging needs to be
205 // locked to avoid displaying one message in the middle of another one.
206 m.Lock()
207 defer m.Unlock()
208
209 fmt.Fprintf(m.Stdout, msg, args...)
210 fmt.Fprintln(m.Stdout)
211}
212
213// Puts formats a message and then prints to Stdout using the Default Messenger.
214//

Callers 8

PutsFunction · 0.80
TreeFunction · 0.80
AboutFunction · 0.80
InfoFunction · 0.80
NameFunction · 0.80
NoVendorFunction · 0.80
outputListFunction · 0.80
DisplayFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected