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

Function IndentFormatter

tidbparser/dependency/util/format/format.go:73–75  ·  view source on GitHub ↗

IndentFormatter returns a new Formatter which interprets %i and %u in the Format() formats string as indent and unindent commands. The commands can nest. The Formatter writes to io.Writer 'w' and inserts one 'indent' string per current indent level value. Behaviour of commands reaching negative inde

(w io.Writer, indent string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FlatFormatterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…