Trees | Indices | Help |
---|
|
Path monitor.
|
|||
|
|||
|
|||
|
|||
PathMonitor |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
RLock |
__mutex The mutex. |
||
dict path:(mtime, digest, cb) |
__paths A list of paths to monitor. |
||
Thread |
__thread The optional thread. |
|
Add a path to be monitored.
|
Delete a path to be monitored.
|
Start the monitor thread.
|
Sniff and compare the stats of the file at the specified path. First, check the modification time, if different, then check the hash of the file content to see if it really changed. If changed, notify the registered listener.
|
Safely invoke registered callback.
|
|
__threadThe optional thread. see: start().
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 2 09:10:28 2013 | http://epydoc.sourceforge.net |