NewCommitIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns a CommitIter that iterates over all commits contained in the storer.EncodedObjectIter. Any non-commit object returned by the storer.EncodedObjectIter is skipped.
(s storer.EncodedObjectStorer, iter storer.EncodedObjectIter)
| 565 | // |
| 566 | // Any non-commit object returned by the storer.EncodedObjectIter is skipped. |
| 567 | func NewCommitIter(s storer.EncodedObjectStorer, iter storer.EncodedObjectIter) CommitIter { |
| 568 | return &storerCommitIter{iter, s} |
| 569 | } |
| 570 | |
| 571 | // Next moves the iterator to the next commit and returns a pointer to it. If |
| 572 | // there are no more commits, it returns io.EOF. |
no outgoing calls
no test coverage detected
searching dependent graphs…