crossbar.common.fswatcher

Attributes

Classes

FilesystemWatcher

Watches a directories for file system changes.

Module Contents

class FilesystemWatcher(working_dir='.', watched_dirs=['.'])[source]

Watches a directories for file system changes.

_handler[source]
_observer[source]
_started = False[source]
_watched_dirs = ['.'][source]
_working_dir = '.'[source]
is_started()[source]

Check if the watcher is running.

log[source]
start(callback)[source]

Start watching.

stop()[source]

Stop watching.

HAS_FS_WATCHER = False[source]