The class Event does contain the fields path, name and pathname. However, if multiple directories are watched by multiple calls to add_watch, the information about the watched directory itself is missing. It would be helpful to provide a field like watched_path.
The class Event does contain the fields path, name and pathname. However, if multiple directories are watched by multiple calls to add_watch, the information about the watched directory itself is missing. It would be helpful to provide a field like watched_path.