MCPcopy Index your code
hub / github.com/cortexproject/cortex / writeFlag

Method writeFlag

tools/doc-generator/writer.go:79–85  ·  view source on GitHub ↗
(name string, indent int)

Source from the content-addressed store, hash-verified

77}
78
79func (w *specWriter) writeFlag(name string, indent int) {
80 if name == "" {
81 return
82 }
83
84 w.out.WriteString(pad(indent) + "# CLI flag: -" + name + "\n")
85}
86
87func (w *specWriter) writeComment(comment string, indent int) {
88 if comment == "" {

Callers 1

writeConfigEntryMethod · 0.95

Calls 2

padFunction · 0.85
WriteStringMethod · 0.80

Tested by

no test coverage detected