cola.inotify – inotify helpers

Provides an inotify plugin for Linux and other systems with pyinotify

class cola.inotify.FileSysEvent

Generated by GitNotifier in response to inotify events

process_default(event)

Queues up inotify events for broadcast

class cola.inotify.GitNotifier(timeout=333)

Polls inotify for changes and generates FileSysEvents

run()

Create the inotify WatchManager and generate FileSysEvents

run_win32()

Generate notifications using pywin32

stop(stopped)

Tells the GitNotifier to stop

class cola.inotify.Handler

Queues filesystem events for broadcast

broadcast()

Broadcasts a list of all files touched since last broadcast

handle(path)

Queues up filesystem events for broadcast

cola.inotify.has_inotify()

Return True if pyinotify is available.

cola.inotify.start()
cola.inotify.stop()

Previous topic

cola.guicmds – GUI Commands

Next topic

cola.resources – Resources

This Page