Home | Trees | Index | Help |
|
---|
Package buildbot :: Package changes :: Module dnotify :: Class DNotify |
|
Method Summary | |
---|---|
This object watches a directory for changes. | |
fire(self)
| |
remove(self)
|
Class Variable Summary | |
---|---|
int |
DN_ACCESS = 1 |
int |
DN_ATTRIB = 32 |
int |
DN_CREATE = 4 |
int |
DN_DELETE = 8 |
int |
DN_MODIFY = 2 |
int |
DN_RENAME = 16 |
list |
handler = [None]
|
Method Details |
---|
__init__(self,
dirname,
callback=None,
flags=[2, 4, 8, 16])
This object watches a directory for changes. The .callback attribute
should be set to a function to be run every time something happens to
it. Be aware that it will be called more times than you expect.
|
Class Variable Details |
---|
DN_ACCESS
|
DN_ATTRIB
|
DN_CREATE
|
DN_DELETE
|
DN_MODIFY
|
DN_RENAME
|
handler
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 | http://epydoc.sf.net |