Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ChineseSubFinder/ChineseSubFinder
/ Del
Method
Del
pkg/task_queue/task_queue.go:303–309 ·
view source on GitHub ↗
Del 删除一个元素
(jobId string)
Source
from the content-addressed store, hash-verified
301
302
// Del 删除一个元素
303
func
(t *TaskQueue) Del(jobId string) (bool, error) {
304
305
defer
t.queueLock.Unlock()
306
t.queueLock.Lock()
307
308
return
t.del(jobId)
309
}
310
311
func
(t *TaskQueue) read() {
312
Callers
2
TestTaskQueue_AddAndGetAndDel
Function · 0.95
queueDownloaderLocal
Method · 0.80
Calls
3
del
Method · 0.95
Unlock
Method · 0.80
Lock
Method · 0.80
Tested by
1
TestTaskQueue_AddAndGetAndDel
Function · 0.76