MCPcopy Index your code
hub / github.com/docker/cli / withHeader

Function withHeader

internal/tui/note.go:24–28  ·  view source on GitHub ↗
(header Str)

Source from the content-addressed store, hash-verified

22type noteOptions func(o *options)
23
24func withHeader(header Str) noteOptions {
25 return func(o *options) {
26 o.header = header
27 }
28}
29
30func (o Output) printNoteWithOptions(format string, args []any, opts ...noteOptions) {
31 if !o.noColor {

Callers 2

PrintNoteMethod · 0.85
PrintWarningMethod · 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…