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

Method debugString

dql/parser.go:1462–1466  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1460// debugString converts FilterTree to a string. Good for testing, debugging.
1461// nolint: unused
1462func (f *FilterTree) debugString() string {
1463 buf := bytes.NewBuffer(make([]byte, 0, 20))
1464 f.stringHelper(buf)
1465 return buf.String()
1466}
1467
1468// stringHelper does simple DFS to convert FilterTree to string.
1469// nolint: unused

Callers

nothing calls this directly

Calls 2

stringHelperMethod · 0.95
StringMethod · 0.45

Tested by

no test coverage detected