MCPcopy
hub / github.com/dgraph-io/dgraph / debugString

Method debugString

dql/math.go:370–374  ·  view source on GitHub ↗

debugString converts mathTree to a string. Good for testing, debugging. nolint: unused

()

Source from the content-addressed store, hash-verified

368// debugString converts mathTree to a string. Good for testing, debugging.
369// nolint: unused
370func (t *MathTree) debugString() string {
371 buf := bytes.NewBuffer(make([]byte, 0, 20))
372 t.stringHelper(buf)
373 return buf.String()
374}
375
376// stringHelper does simple DFS to convert MathTree to string.
377// nolint: unused

Calls 2

stringHelperMethod · 0.95
StringMethod · 0.45