MCPcopy Create free account
hub / github.com/egonelbre/exp / Progress

Method Progress

progress/main.go:73–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73func (process *Process) Progress() (progress int, done bool) {
74 progress = int(atomic.LoadInt32(&process.progress))
75 done = atomic.LoadInt32(&process.done) == 1
76 return
77}
78
79func (process *Process) Fail(err error) {
80 process.mu.Lock()

Callers 1

PaintMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected