MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / __retry_update

Method __retry_update

client/node/toolloader/gitload.py:143–149  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

141 SshFlieClient.remove_temp_ssh_file(self._ssh_temp_file)
142
143 def __retry_update(self):
144 try:
145 self._scm_client.update()
146 except Exception as err:
147 # logger.error(f"本地目录更新异常,Error:{str(err)}, 删除目录重新拉取...")
148 PathMgr().safe_rmpath(self._dest_dir)
149 self.__retry_checkout()
150
151 def __retry_checkout(self):
152 try:

Callers 1

loadMethod · 0.95

Calls 2

__retry_checkoutMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected