Size returns the number of CommitNodes in the stack
()
| 46 | |
| 47 | // Size returns the number of CommitNodes in the stack |
| 48 | func (l *commitNodeLifo) Size() int { |
| 49 | return len(l.l) |
| 50 | } |
| 51 | |
| 52 | // commitNodeHeap is a stack implementation using an underlying binary heap |
| 53 | type commitNodeHeap struct { |
nothing calls this directly
no outgoing calls
no test coverage detected