MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / activeCountLocked

Method activeCountLocked

tools/bash/background.go:66–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 resultDir: resultDir,
65 }, nil
66}
67
68func (m *BackgroundManager) activeCountLocked() int {
69 count := 0
70 for _, task := range m.tasks {
71 if task.Status == "running" {
72 count++
73 }
74 }
75 return count
76}
77

Callers 3

ActiveCountMethod · 0.95
CanAcceptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected