MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Stack

Function Stack

pkg/util/pretty/util.go:81–83  ·  view source on GitHub ↗

Stack concats Docs with a Line between each.

(d ...Doc)

Source from the content-addressed store, hash-verified

79
80// Stack concats Docs with a Line between each.
81func Stack(d ...Doc) Doc {
82 return Fold(ConcatLine, d...)
83}
84
85// Fillwords fills lines with as many docs as will fit joined with a space or
86// line.

Callers 13

docRowMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docRowMethod · 0.92

Calls 1

FoldFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…