class documentation

class GreenThreadsObjectStoreIterator(ObjectStoreIterator):

Known subclasses: dulwich.contrib.swift.PackInfoObjectStoreIterator

View In Hierarchy

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_iter Undocumented
Instance Variable store Undocumented
Method _empty Undocumented
Instance Variable _shas Undocumented
def __init__(self, store, shas, finder, concurrency=1):

Create a new ObjectIterator.

Parameters
storeObject store to retrieve from
shasUndocumented
finderUndocumented
concurrencyUndocumented
sha_iterIterator over (sha, path) tuples
def __iter__(self):

Yield tuple with next object and path.

def __len__(self):
def retrieve(self, args):

Undocumented

finder =

Undocumented

p =

Undocumented