Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
47
func
newProgress() *progress {
48
return
&progress{
49
start: time.Now(),
50
shutdown: make(
chan
struct
{}),
51
}
52
}
53
54
func
(p *progress) setPhase(ph phase) {
55
atomic.StoreInt32((*int32)(&p.phase), int32(ph))
Callers
1
newLoader
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected