Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/docker/docker-agent
/ totalTaskCount
Method
totalTaskCount
pkg/tools/builtin/agent/agent.go:248–250 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
246
}
247
248
func
(h *Handler) totalTaskCount() int {
249
return
h.tasks.Length()
250
}
251
252
func
(h *Handler) pruneCompleted() {
253
var
toDelete []string
Callers
5
HandleRun
Method · 0.95
TestTaskCounts
Function · 0.80
TestPruneCompleted
Function · 0.80
TestHandleRun_StartsTask
Function · 0.80
TestHandleRun_TotalCapAutoPruneAdmits
Function · 0.80
Calls
1
Length
Method · 0.45
Tested by
4
TestTaskCounts
Function · 0.64
TestPruneCompleted
Function · 0.64
TestHandleRun_StartsTask
Function · 0.64
TestHandleRun_TotalCapAutoPruneAdmits
Function · 0.64