Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ State
Method
State
pkg/queue/task.go:202–210 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
200
}
201
202
func
(t *DBTask) State() string {
203
t.mu.Lock()
204
defer
t.mu.Unlock()
205
206
if
t.Task != nil {
207
return
t.Task.PrivateState
208
}
209
return
""
210
}
211
212
func
(t *DBTask) Persisted() bool {
213
t.mu.Lock()
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected