Push pushes a new CommitNode to the heap
(c CommitNode)
| 56 | |
| 57 | // Push pushes a new CommitNode to the heap |
| 58 | func (h *commitNodeHeap) Push(c CommitNode) { |
| 59 | h.Heap.Push(c) |
| 60 | } |
| 61 | |
| 62 | // Pop removes top element on heap and returns it, or nil if heap is empty. |
| 63 | // Second return parameter is true, unless the heap was empty and there was nothing to pop. |
no test coverage detected