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

Method setList

query/outputnode.go:333–339  ·  view source on GitHub ↗
(fj fastJsonNode, list bool)

Source from the content-addressed store, hash-verified

331}
332
333func (enc *encoder) setList(fj fastJsonNode, list bool) {
334 if list {
335 fj.meta |= listBit
336 } else {
337 fj.meta &^= listBit
338 }
339}
340
341func (enc *encoder) setVisited(fj fastJsonNode, visited bool) {
342 if visited {

Callers 3

makeScalarNodeMethod · 0.95
AddListChildMethod · 0.95
TestFastJsonNodeFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestFastJsonNodeFunction · 0.64