克隆项目
(self)
| 231 | shutil.rmtree(Constants.DirProjects, ignore_errors=True) |
| 232 | |
| 233 | def clone(self): |
| 234 | """克隆项目""" |
| 235 | pygit2.clone_repository(self.Url, |
| 236 | Constants.DirProjects, |
| 237 | callbacks=ProgressCallback()) |
| 238 | |
| 239 | def run(self): |
| 240 | try: |
no test coverage detected