Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
173
func
(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
183
func
(t *DBTask) Type() string {
184
t.mu.Lock()
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected