Iter returns an iterator over the entries in `tree`.
()
| 41 | |
| 42 | // Iter returns an iterator over the entries in `tree`. |
| 43 | func (tree *Tree) Iter() *TreeIter { |
| 44 | return &TreeIter{ |
| 45 | data: tree.data, |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | // NextEntry returns either the next entry in a Git tree, or a `false` |
| 50 | // boolean value if there are no more entries. |