Is dulwich thread safe?

108 Views Asked by At

In other words, if I have a MemoryRepo instance, can I be performing a:

  • "fetch(), updating references and performing a send_pack()" on one thread and
  • traversing the commit graph or even introducing a change into the object_store and local references in another thread (using the same MemoryRepo instance)?
1

There are 1 best solutions below

2
On

Yes, MemoryRepo is meant to be thread-safe.