MCPcopy
hub / github.com/cayleygraph/cayley / Null

Struct Null

graph/iterator/iterator.go:55–55  ·  view source on GitHub ↗

Here we define the simplest iterator -- the Null iterator. It contains nothing. It is the empty set. Often times, queries that contain one of these match nothing, so it's important to give it a special iterator.

Source from the content-addressed store, hash-verified

53// It is the empty set. Often times, queries that contain one of these match nothing,
54// so it's important to give it a special iterator.
55type Null struct{}
56
57// Fairly useless New function.
58func NewNull() *Null {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected