DirWatch chooses a supported backend (fam, gamin or fallback) it is
mainly a wrapper script without own methods beside this
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_watch(self,
idxName,
callBackThis,
dirList,
handleEvents=['changed','deleted','created'])
add dirList to watch. |
source code
|
|
|
|
remove_watch(self,
idxName)
remove DirWatch with name idxName |
source code
|
|
|
|
remove_all_watch(self)
remove all DirWatcher |
source code
|
|
|
|
|
|
|
|
|
|
resume_watch(self,
idxName)
resume a DirWatch that was supended with suspendDirWatch or
suspendAllDirWatch |
source code
|
|
|
|
resume_all_watch(self)
resume all DirWatcher |
source code
|
|
|
|
| _processDirEvents(self,
pathName,
event,
idxName) |
source code
|
|
|
|
|
|
|
loop(self)
wait for dir events and start handling of them |
source code
|
|