Is dulwich thread safe?

74 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 answers

2
jelmer On

Yes, MemoryRepo is meant to be thread-safe.