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

Method cmd_diff

aider/commands.py:657–662  ·  view source on GitHub ↗

Display the diff of changes since the last message

(self, args="")

Source from the content-addressed store, hash-verified

655 return prompts.undo_command_reply
656
657 def cmd_diff(self, args=""):
658 "Display the diff of changes since the last message"
659 try:
660 self.raw_cmd_diff(args)
661 except ANY_GIT_ERROR as err:
662 self.io.tool_error(f"Unable to complete diff: {err}")
663
664 def raw_cmd_diff(self, args=""):
665 if not self.coder.repo:

Callers 2

test_cmd_diffMethod · 0.95

Calls 2

raw_cmd_diffMethod · 0.95
tool_errorMethod · 0.45

Tested by 1

test_cmd_diffMethod · 0.76