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

Function newProgress

dgraph/cmd/bulk/progress.go:47–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func newProgress() *progress {
48 return &progress{
49 start: time.Now(),
50 shutdown: make(chan struct{}),
51 }
52}
53
54func (p *progress) setPhase(ph phase) {
55 atomic.StoreInt32((*int32)(&p.phase), int32(ph))

Callers 1

newLoaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected