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

Function timestamp

worker/worker_test.go:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func timestamp() uint64 {
60 return atomic.AddUint64(&ts, 1)
61}
62
63func addEdge(t *testing.T, edge *pb.DirectedEdge, l *posting.List) {
64 edge.Op = pb.DirectedEdge_SET

Callers 4

TestExportRdfFunction · 0.70
TestExportJsonFunction · 0.70
commitTsFunction · 0.70
commitTransactionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected