cola.inotify – inotify helpers
Provides an inotify plugin for Linux and other systems with pyinotify
-
class cola.inotify.EventReceiver
-
event(msg)
- Overrides event() to handle custom inotify events.
-
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(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
-
cola.inotify.has_inotify()
- Return True if pyinotify is available.
-
cola.inotify.start()
-
cola.inotify.stop()