MCPcopy Create free account
hub / github.com/libgit2/pygit2 / set_threads

Method set_threads

pygit2/packbuilder.py:75–76  ·  view source on GitHub ↗
(self, n_threads: int)

Source from the content-addressed store, hash-verified

73 check_error(err)
74
75 def set_threads(self, n_threads: int) -> int:
76 return C.git_packbuilder_set_threads(self._packbuilder, n_threads)
77
78 def write(self, path: str | bytes | PathLike[str] | None = None) -> None:
79 path_bytes = ffi.NULL if path is None else to_bytes(path)

Callers 1

packMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected