class documentation
class GreenThreadsObjectStoreIterator(ObjectStoreIterator):
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 | __iter__ |
Yield tuple with next object and path. |
Method | __len__ |
Return the number of objects. |
Method | retrieve |
Undocumented |
Instance Variable | finder |
Undocumented |
Instance Variable | p |
Undocumented |
Inherited from ObjectStoreIterator
:
Method | __bool__ |
Indicate whether this object has contents. |
Method | __contains__ |
Check if an object is present. |
Method | __getitem__ |
Find an object by SHA1. |
Method | iterobjects |
Iterate over just the objects. |
Method | itershas |
Iterate over the SHAs. |
Instance Variable | sha |
Undocumented |
Instance Variable | store |
Undocumented |
Method | _empty |
Undocumented |
Instance Variable | _shas |
Undocumented |
Create a new ObjectIterator.
Parameters | |
store | Object store to retrieve from |
shas | Undocumented |
finder | Undocumented |
concurrency | Undocumented |
sha | Iterator over (sha, path) tuples |