EncodedObjectLookupIter implements EncodedObjectIter. It iterates over a series of object hashes and yields their associated objects by retrieving each one from object storage. The retrievals are lazy and only occur when the iterator moves forward with a call to Next(). The EncodedObjectLookupIter
| 122 | // The EncodedObjectLookupIter must be closed with a call to Close() when it is |
| 123 | // no longer needed. |
| 124 | type EncodedObjectLookupIter struct { |
| 125 | storage EncodedObjectStorer |
| 126 | series []plumbing.Hash |
| 127 | t plumbing.ObjectType |
| 128 | pos int |
| 129 | } |
| 130 | |
| 131 | // NewEncodedObjectLookupIter returns an object iterator given an object storage |
| 132 | // and a slice of object hashes. |
nothing calls this directly
no outgoing calls
no test coverage detected