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

Method cache_report

client/task/sourcemgr.py:50–60  ·  view source on GitHub ↗

进度上报:应用缓存代码 :return:

(self)

Source from the content-addressed store, hash-verified

48 self.params = task_params
49
50 def cache_report(self):
51 """
52 进度上报:应用缓存代码
53 :return:
54 """
55 if self.task_type is CompileTask:
56 Reporter(self.params).update_task_progress(InfoType.CompileCacheSource)
57 elif self.task_type is AnalyzeTask:
58 Reporter(self.params).update_task_progress(InfoType.AnalyzeCacheSource)
59 elif self.task_type is DataHandleTask:
60 Reporter(self.params).update_task_progress(InfoType.DataHandleCacheSource)
61
62 def update_report(self):
63 """

Callers 2

__checkout_dataMethod · 0.80

Calls 2

ReporterClass · 0.90
update_task_progressMethod · 0.45

Tested by

no test coverage detected