MCPcopy Create free account
hub / github.com/cli/cli / VerbosePrint

Method VerbosePrint

pkg/cmd/attestation/io/handler.go:56–62  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

54}
55
56func (h *Handler) VerbosePrint(msg string) (int, error) {
57 if !h.debugEnabled || !h.IO.IsStdoutTTY() {
58 return 0, nil
59 }
60
61 return fmt.Fprintln(h.IO.ErrOut, msg)
62}
63
64func (h *Handler) VerbosePrintf(f string, v ...any) (int, error) {
65 if !h.debugEnabled || !h.IO.IsStdoutTTY() {

Callers 1

verifyMethod · 0.80

Calls 1

IsStdoutTTYMethod · 0.80

Tested by

no test coverage detected