MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / on_modified

Method on_modified

core/background.py:330–332  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

328 error(f"FileWatch: callback error: {e}")
329
330 def on_modified(self, event):
331 if not event.is_directory and self._should_trigger(event.src_path):
332 self._debounced_callback(event)
333
334 def on_created(self, event):
335 if not event.is_directory and self._should_trigger(event.src_path):

Callers

nothing calls this directly

Calls 2

_should_triggerMethod · 0.95
_debounced_callbackMethod · 0.95

Tested by

no test coverage detected