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

Method handle_changes

aider/watch.py:135–143  ·  view source on GitHub ↗

Process the detected changes and update state

(self, changes)

Source from the content-addressed store, hash-verified

133 return [str(self.root)]
134
135 def handle_changes(self, changes):
136 """Process the detected changes and update state"""
137 if not changes:
138 return False
139
140 changed_files = {str(Path(change[1])) for change in changes}
141 self.changed_files.update(changed_files)
142 self.io.interrupt_input()
143 return True
144
145 def watch_files(self):
146 """Watch for file changes and process them"""

Callers 2

watch_filesMethod · 0.95
test_handle_changesFunction · 0.95

Calls 2

updateMethod · 0.80
interrupt_inputMethod · 0.80

Tested by 1

test_handle_changesFunction · 0.76