MCPcopy Create free account
hub / github.com/cortexproject/cortex / string

Method string

tools/doc-generator/writer.go:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func (w *markdownWriter) string() string {
181 return strings.TrimSpace(w.out.String())
182}
183
184func pad(length int) string {
185 return strings.Repeat(" ", length)

Callers 2

generateBlocksMarkdownFunction · 0.95
generateBlockMarkdownFunction · 0.95

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected