git_packbuilder_set_threads

Set number of threads to spawn

By default, libgit2 won't spawn any threads at all; when set to 0, libgit2 will autodetect the number of CPUs.

@param pb The packbuilder @param n Number of threads to spawn @return number of actual threads to be used

extern (C) nothrow @nogc
uint
git_packbuilder_set_threads

Meta