MCPcopy Index your code
hub / github.com/blastrain/vitess-sqlparser / Myprintf

Method Myprintf

sqlparser/tracked_buffer.go:58–107  ·  view source on GitHub ↗

Myprintf mimics fmt.Fprintf(buf, ...), but limited to Node(%v), Node.Value(%s) and string(%s). It also allows a %a for a value argument, in which case it adds tracking info for future substitutions. The name must be something other than the usual Printf() to avoid "go vet" warnings due to our custo

(format string, values ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

StringFunction · 0.95
GenerateParsedQueryFunction · 0.95
WriteNodeMethod · 0.95
BuildParsedQueryFunction · 0.95
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80
FormatMethod · 0.80

Calls 5

WriteArgMethod · 0.95
WriteStringMethod · 0.80
WriteByteMethod · 0.80
WriteMethod · 0.65
FormatMethod · 0.65

Tested by

no test coverage detected