MCPcopy
hub / github.com/docker/docker-agent / AddSeparator

Method AddSeparator

pkg/tui/dialog/base.go:213–216  ·  view source on GitHub ↗

AddSeparator adds a horizontal separator line.

()

Source from the content-addressed store, hash-verified

211
212// AddSeparator adds a horizontal separator line.
213func (dc *Content) AddSeparator() *Content {
214 dc.parts = append(dc.parts, RenderSeparator(dc.width))
215 return dc
216}
217
218// AddSpace adds an empty line for spacing.
219func (dc *Content) AddSpace() *Content {

Callers 13

ViewMethod · 0.95
buildBodyMethod · 0.95
ViewMethod · 0.95
ViewMethod · 0.80
ViewMethod · 0.80
ViewMethod · 0.80
ViewMethod · 0.80
ViewMethod · 0.80
ViewMethod · 0.80
ViewMethod · 0.80
ViewMethod · 0.80
ViewMethod · 0.80

Calls 1

RenderSeparatorFunction · 0.85

Tested by

no test coverage detected