MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / FlatFormatter

Function FlatFormatter

tidbparser/dependency/util/format/format.go:174–176  ·  view source on GitHub ↗

FlatFormatter returns a newly created Formatter with the same functionality as the one returned by IndentFormatter except it allows a newline in the 'format' string argument of Format to pass through if the indent level is current zero. If the indent level is non-zero then such new lines are change

(w io.Writer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

IndentFormatterFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…