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

Method setVisited

query/outputnode.go:341–347  ·  view source on GitHub ↗
(fj fastJsonNode, visited bool)

Source from the content-addressed store, hash-verified

339}
340
341func (enc *encoder) setVisited(fj fastJsonNode, visited bool) {
342 if visited {
343 fj.meta |= visitedBit
344 } else {
345 fj.meta &^= visitedBit
346 }
347}
348
349func (enc *encoder) setFacetsParent(fj fastJsonNode) {
350 fj.meta |= facetsBit

Callers 3

fixOrderMethod · 0.95
processNodeUidsFunction · 0.80
preTraverseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected