5.1.1.1. add_inotify_watch¶
-
mfutil.
add_inotify_watch
(inotify, directory, ignores=[])[source]¶ Register recursively directories to watch.
Parameters: - inotify (inotify object) – object that owns the file descriptors
- directory (string) – complete path of a directory to scan.
- ignores (list of strings) – list of shell-style wildcards
- to define which filenames/dirnames to ignores (see fnmatch)