MCPcopy Create free account
hub / github.com/RuoJi6/java-decompile-mcp / process_file

Function process_file

java_decompiler_mcp/__init__.py:275–278  ·  view source on GitHub ↗

处理单个文件,返回 (索引, 成功标志, 文件名, 消息)

(file_path: str, idx: int)

Source from the content-addressed store, hash-verified

273 # 多线程处理
274 else:
275 def process_file(file_path: str, idx: int) -> tuple[int, bool, str, str]:
276 """处理单个文件,返回 (索引, 成功标志, 文件名, 消息)"""
277 success, message = run_cfr(cfr_path, file_path, output_dir)
278 return idx, success, os.path.basename(file_path), message
279
280 with ThreadPoolExecutor(max_workers=max_workers) as executor:
281 # 提交所有任务

Callers

nothing calls this directly

Calls 1

run_cfrFunction · 0.85

Tested by

no test coverage detected