MCPcopy Index your code
hub / github.com/BasicProtein/AugmentCode-Free / PatchResult

Class PatchResult

augment_tools_core/patch_manager.py:37–43  ·  view source on GitHub ↗

补丁操作结果

Source from the content-addressed store, hash-verified

35
36
37class PatchResult:
38 """补丁操作结果"""
39 def __init__(self, success: bool = False, message: str = "", file_path: str = "", backup_path: str = ""):
40 self.success = success
41 self.message = message
42 self.file_path = file_path
43 self.backup_path = backup_path
44
45
46class PatchManager:

Callers 2

apply_patchMethod · 0.85
restore_from_backupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected