MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Status

Method Status

pkg/queue/task.go:173–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171}
172
173func (t *DBTask) Status() task.Status {
174 t.mu.Lock()
175 defer t.mu.Unlock()
176
177 if t.Task != nil {
178 return t.Task.Status
179 }
180 return ""
181}
182
183func (t *DBTask) Type() string {
184 t.mu.Lock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected