dulwich.greenthreads module

Utility module for querying an ObjectStore with gevent.

class dulwich.greenthreads.GreenThreadsMissingObjectFinder(object_store, haves, wants, progress=None, get_tagged=None, concurrency=1, get_parents=None)

Bases: dulwich.object_store.MissingObjectFinder

Find the objects missing from another object store.

Same implementation as object_store.MissingObjectFinder except we use gevent to parallelize object retrieval.

class dulwich.greenthreads.GreenThreadsObjectStoreIterator(store, shas, finder, concurrency=1)

Bases: dulwich.object_store.ObjectStoreIterator

ObjectIterator that works on top of an ObjectStore.

Same implementation as object_store.ObjectStoreIterator except we use gevent to parallelize object retrieval.

retrieve(args)