MCPcopy Create free account
hub / github.com/PyQt5/PyQtClient / remove

Method remove

Utils/GitThread.py:227–231  ·  view source on GitHub ↗

删除未clone完成的目录

(self)

Source from the content-addressed store, hash-verified

225 raise AssertionError('Unknown merge analysis result')
226
227 def remove(self):
228 """删除未clone完成的目录"""
229 for path in Path(Constants.DirProjects).rglob('*'):
230 path.chmod(stat.S_IWRITE)
231 shutil.rmtree(Constants.DirProjects, ignore_errors=True)
232
233 def clone(self):
234 """克隆项目"""

Callers 4

runMethod · 0.95
layer.jsFile · 0.80
fFunction · 0.80
jquery.min.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected