(self, path: str | bytes | PathLike[str] | None = None)
| 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) |
| 80 | err = C.git_packbuilder_write( |
| 81 | self._packbuilder, path_bytes, 0, ffi.NULL, ffi.NULL |
| 82 | ) |
| 83 | check_error(err) |
| 84 | |
| 85 | @property |
| 86 | def written_objects_count(self) -> int: |
no test coverage detected