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

Method Push

backend/helpers/pluginhelper/api/iterator.go:168–170  ·  view source on GitHub ↗

Push a data into queue

(data interface{})

Source from the content-addressed store, hash-verified

166
167// Push a data into queue
168func (q *QueueIterator) Push(data interface{}) {
169 q.queue.Push(NewQueueIteratorNode(data))
170}
171
172// Close releases resources
173func (q *QueueIterator) Close() errors.Error {

Callers 3

TestQueueIteratorFunction · 0.95
CollectIssuesFunction · 0.95
CollectChannelMessageFunction · 0.95

Calls 1

NewQueueIteratorNodeFunction · 0.85

Tested by 1

TestQueueIteratorFunction · 0.76