CommitIter is a generic closable interface for iterating over commits.
| 457 | |
| 458 | // CommitIter is a generic closable interface for iterating over commits. |
| 459 | type CommitIter interface { |
| 460 | Next() (*Commit, error) |
| 461 | ForEach(func(*Commit) error) error |
| 462 | Close() |
| 463 | } |
| 464 | |
| 465 | // storerCommitIter provides an iterator from commits in an EncodedObjectStorer. |
| 466 | type storerCommitIter struct { |
no outgoing calls
no test coverage detected