MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / ScmUrlMgr

Class ScmUrlMgr

client/util/scmurlmgr.py:183–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182
183class ScmUrlMgr(object):
184 def __init__(self, scm_type):
185 self._client = None
186 if scm_type == "svn":
187 self._client = SvnUrlMgr()
188 elif scm_type == "git":
189 self._client = GitUrlMgr()
190 elif scm_type == "tgit":
191 self._client = GitUrlMgr()
192 else:
193 raise Exception("Not supported scm type: %s" % scm_type)
194
195 def get_scm_url_mgr(self):
196 return self._client

Callers 2

check_and_create_projMethod · 0.90
send_result_to_serverMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected