MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / appendAttrs

Method appendAttrs

query/outputnode.go:358–360  ·  view source on GitHub ↗

nolint:unused // appendAttrs is used in outputnode_test.go as a helper function

(fj, child fastJsonNode)

Source from the content-addressed store, hash-verified

356
357//nolint:unused // appendAttrs is used in outputnode_test.go as a helper function
358func (enc *encoder) appendAttrs(fj, child fastJsonNode) {
359 enc.addChildren(fj, child)
360}
361
362// addChildren appends attrs to existing fj's attrs.
363func (enc *encoder) addChildren(fj, head fastJsonNode) {

Callers 2

TestFastJsonNodeFunction · 0.80
buildTestTreeFunction · 0.80

Calls 1

addChildrenMethod · 0.95

Tested by 2

TestFastJsonNodeFunction · 0.64
buildTestTreeFunction · 0.64