MCPcopy Create free account
hub / github.com/devspace-sh/devspace / Done

Method Done

pkg/devspace/pipeline/job.go:25–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func (j *Job) Done() <-chan struct{} {
26 j.m.Lock()
27 defer j.m.Unlock()
28
29 if j.t != nil {
30 return j.t.Dead()
31 }
32
33 done := make(chan struct{})
34 close(done)
35 return done
36}
37
38func (j *Job) Terminated() bool {
39 j.m.Lock()

Callers

nothing calls this directly

Calls 4

closeFunction · 0.85
LockMethod · 0.80
UnlockMethod · 0.80
DeadMethod · 0.80

Tested by

no test coverage detected