Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ Model
Method
Model
pkg/queue/task.go:263–267 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
261
}
262
263
func
(t *DBTask) Model() *ent.Task {
264
t.mu.Lock()
265
defer
t.mu.Unlock()
266
return
t.Task
267
}
268
269
func
(t *DBTask) Cleanup(ctx context.Context) error {
270
return
nil
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected