dulwich.greenthreads.GreenThreadsObjectStoreIterator(ObjectStoreIterator)
class documentationdulwich.greenthreads
(View In Hierarchy)
Known subclasses: dulwich.contrib.swift.PackInfoObjectStoreIterator
ObjectIterator that works on top of an ObjectStore.
Same implementation as object_store.ObjectStoreIterator except we use gevent to parallelize object retrieval.
Method | __init__ | Create a new ObjectIterator. |
Method | retrieve | Undocumented |
Method | __iter__ | Yield tuple with next object and path. |
Method | __len__ | Return the number of objects. |
Inherited from ObjectStoreIterator:
Method | iterobjects | Iterate over just the objects. |
Method | itershas | Iterate over the SHAs. |
Method | __contains__ | Check if an object is present. |
Method | __getitem__ | Find an object by SHA1. |
Method | empty | Undocumented |
Method | __bool__ | Indicate whether this object has contents. |
Parameters | store | Object store to retrieve from |
sha_iter | Iterator over (sha, path) tuples |