MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / DefaultPrettyCfg

Function DefaultPrettyCfg

pkg/sql/sem/tree/pretty.go:64–72  ·  view source on GitHub ↗

DefaultPrettyCfg returns a PrettyCfg with the default configuration.

()

Source from the content-addressed store, hash-verified

62// DefaultPrettyCfg returns a PrettyCfg with the default
63// configuration.
64func DefaultPrettyCfg() PrettyCfg {
65 return PrettyCfg{
66 LineWidth: 60,
67 Simplify: true,
68 TabWidth: 4,
69 UseTabs: true,
70 Align: PrettyNoAlign, // TODO(knz): I really want this to be AlignAndDeindent
71 }
72}
73
74// PrettyAlignMode directs which alignment mode to use.
75//

Callers 2

PrettyFunction · 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…