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

Method get_src_info

client/task/basic/incsourcemgr.py:43–52  ·  view source on GitHub ↗

获取增量资源信息 :return:

(self)

Source from the content-addressed store, hash-verified

41 return False
42
43 def get_src_info(self):
44 '''
45 获取增量资源信息
46 :return:
47 '''
48 if self.local_cache.exist_cache:
49 return self.local_cache.path_dict
50 if self.remote_cache.exist_cache:
51 return self.remote_cache.path_dict
52 raise SourceMgrError('the IncSourceMgr error %s : %s' % (self.scm_url, self.type))
53
54 def insert_src_info(self, path_dict):
55 '''

Callers 1

__checkout_dataMethod · 0.80

Calls 1

SourceMgrErrorClass · 0.90

Tested by

no test coverage detected