MCPcopy Index your code
hub / github.com/apache/devlake / GetCount

Method GetCount

backend/helpers/pluginhelper/api/queue.go:147–152  ·  view source on GitHub ↗

GetCount get the node count

()

Source from the content-addressed store, hash-verified

145
146// GetCount get the node count
147func (q *Queue) GetCount() int64 {
148 q.mux.Lock()
149 defer q.mux.Unlock()
150
151 return q.count
152}
153
154// GetCount get the node count in query and only return zero when working zero
155func (q *Queue) GetCountWithWorkingBlock() int64 {

Callers 2

TestQueueFunction · 0.95
HasNextMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestQueueFunction · 0.76