MCPcopy 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
248func (h *Handler) totalTaskCount() int {
249 return h.tasks.Length()
250}
251
252func (h *Handler) pruneCompleted() {
253 var toDelete []string

Callers 5

HandleRunMethod · 0.95
TestTaskCountsFunction · 0.80
TestPruneCompletedFunction · 0.80
TestHandleRun_StartsTaskFunction · 0.80

Calls 1

LengthMethod · 0.45

Tested by 4

TestTaskCountsFunction · 0.64
TestPruneCompletedFunction · 0.64
TestHandleRun_StartsTaskFunction · 0.64