NewTreeIter takes a storer.EncodedObjectStorer and a storer.EncodedObjectIter and returns a *TreeIter that iterates over all tree contained in the storer.EncodedObjectIter. Any non-tree object returned by the storer.EncodedObjectIter is skipped.
(s storer.EncodedObjectStorer, iter storer.EncodedObjectIter)
| 597 | // |
| 598 | // Any non-tree object returned by the storer.EncodedObjectIter is skipped. |
| 599 | func NewTreeIter(s storer.EncodedObjectStorer, iter storer.EncodedObjectIter) *TreeIter { |
| 600 | return &TreeIter{iter, s} |
| 601 | } |
| 602 | |
| 603 | // Next moves the iterator to the next tree and returns a pointer to it. If |
| 604 | // there are no more trees, it returns io.EOF. |
no outgoing calls
searching dependent graphs…