MCPcopy
hub / github.com/Aider-AI/aider / PatchAction

Class PatchAction

aider/coders/patch_coder.py:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30@dataclass
31class PatchAction:
32 type: ActionType
33 path: str
34 # For ADD:
35 new_content: Optional[str] = None
36 # For UPDATE:
37 chunks: List[Chunk] = field(default_factory=list)
38 move_path: Optional[str] = None
39
40
41# Type alias for the return type of get_edits

Callers 3

_parse_patch_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected