| 708 | } |
| 709 | |
| 710 | type packfileIter struct { |
| 711 | pack billy.File |
| 712 | iter storer.EncodedObjectIter |
| 713 | seen map[plumbing.Hash]struct{} |
| 714 | |
| 715 | // tells whether the pack file should be left open after iteration or not |
| 716 | keepPack bool |
| 717 | } |
| 718 | |
| 719 | // NewPackfileIter returns a new EncodedObjectIter for the provided packfile |
| 720 | // and object type. Packfile and index file will be closed after they're |
nothing calls this directly
no outgoing calls
no test coverage detected