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

Method get_cmd

client/tool/regexscanner.py:221–225  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

219 return issues
220
221 def get_cmd(self, args):
222 tool_path = os.path.join(self.tool_home, "bin", settings.PLATFORMS[sys.platform], self.tool_name)
223 if settings.PLATFORMS[sys.platform] == "windows":
224 tool_path = f"{tool_path}.exe"
225 return __lu__().format_cmd(tool_path, args)
226
227 def get_valid_encode_files(self, toscans: list):
228 """

Callers 1

analyzeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected