Package wafadmin :: Package Tools :: Module DirWatch :: Class Fallback
[hide private]
[frames] | no frames]

Class Fallback

source code

Nested Classes [hide private]
  Helper
Instance Methods [hide private]
 
__init__(self) source code
 
_traversal(self, dirName)
Traversal function for directories Basic principle: all_files is a dictionary mapping paths to modification times.
source code
 
watch_directory(self, namePath, callBack, idxName) source code
 
unwatch_directory(self, namePath) source code
 
event_pending(self) source code
 
handle_events(self) source code
Method Details [hide private]

_traversal(self, dirName)

source code 

Traversal function for directories Basic principle: all_files is a dictionary mapping paths to modification times. We repeatedly crawl through the directory tree rooted at 'path', doing a stat() on each file and comparing the modification time.