MCPcopy Create free account
hub / github.com/docker/cli / fprintlnNonEmpty

Function fprintlnNonEmpty

cli/command/system/info.go:513–517  ·  view source on GitHub ↗
(w io.Writer, label, value string)

Source from the content-addressed store, hash-verified

511}
512
513func fprintlnNonEmpty(w io.Writer, label, value string) {
514 if value != "" {
515 _, _ = fmt.Fprintln(w, label, value)
516 }
517}

Callers 2

prettyPrintClientInfoFunction · 0.85
prettyPrintServerInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…