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

Method startSubsection

cli/command/formatter/disk_usage.go:45–51  ·  view source on GitHub ↗
(format Format)

Source from the content-addressed store, hash-verified

43}
44
45func (ctx *DiskUsageContext) startSubsection(format Format) (*template.Template, error) {
46 ctx.buffer = &bytes.Buffer{}
47 ctx.header = ""
48 ctx.Format = format
49
50 return ctx.parseFormat()
51}
52
53// NewDiskUsageFormat returns a format for rendering an DiskUsageContext
54func NewDiskUsageFormat(source string, verbose bool) Format {

Callers 1

verboseWriteTableMethod · 0.95

Calls 1

parseFormatMethod · 0.80

Tested by

no test coverage detected