Trees | Index | Help |
|
---|
Package handlers :: Module filterDirsPath :: Class Handler |
|
object
--+ |Handler
--+ | Handler
Filters directories specified by their full path.
Uses glob and paths can be configured with wildcards. Subdirectories are filtered in or out with any directory that matches a pattern. When using the handler as a filter in, a directory is ignored even when it matches a pattern if a directory above it in the tree does not match any of the patterns.Method Summary | |
---|---|
Initializer that uses a dictionary to configure the handler. | |
Handles a child directory contained in the parent directory. | |
Updates itself with configDict. | |
Inherited from Handler | |
Operator for layering the handlers in a stack. | |
| |
Handles the parent directory that the 'walk' has reached. | |
Invokes beginParentDirHook for this handler and, recursively, for each handler below this one in the stack. | |
Helper method that calculates the value used to determine if a file has been changed or is different from another file. (Static method) | |
Handles the parent directory that the 'walk' has reached. | |
Invokes endParentDirHook for this handler and, recursively, for each handler below this one in the stack. | |
Save all the results if needed and release resources. | |
Invokes finalizeHook for this handler and, recursively, for each handler below this one in the stack. | |
(Static method) | |
Invokes handleChildDirHook for this handler and, recursively, for each handler below this one in the stack. | |
Handles a file contained in the parent directory. | |
Invokes handleFileHook for this handler and, recursively, for each handler below this one in the stack. | |
Helper method to get the value used to determine if a file has been changed or is different from another file. | |
Sets the top directory in the handler. | |
Takes care of initialization that is needed for every tree. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Method Details |
---|
__init__(self,
configDict=None)
Initializer that uses a dictionary to configure the handler.
|
handleChildDirHook(self, dirName)Handles a child directory contained in the parent directory.
|
setConfig(self, configDict)Updates itself with configDict.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed Dec 22 15:47:45 2004 | http://epydoc.sf.net |