cola.inotify – inotify helpers
Provides an inotify plugin for Linux and other systems with pyinotify
-
class cola.inotify.FileSysEvent(parent)
Generated by GitNotifier in response to inotify events
-
process_default(event)
- Notifies the Qt parent when actions occur
-
class cola.inotify.GitNotifier(receiver, git, timeout=250)
Polls inotify for changes and generates FileSysEvents
-
notify()
- Post a Qt event in response to inotify updates
-
run()
- Create the inotify WatchManager and generate FileSysEvents
-
set_abort(abort)
- Tells the GitNotifier to abort