Package lemon :: Package external :: Package Cheetah :: Module FileUtils :: Class FileFinder
[show private | hide private]
[frames | no frames]

Class FileFinder


Traverses a directory tree and finds all files in it that match one of
the specified glob patterns.

Method Summary
  __init__(self, rootPath, globPatterns, ignoreBasenames, ignoreDirs)
  files(self)
  filterDir(self, baseName, fullPath)
A hook for filtering out certain dirs.
  processDir(self, dir, glob)
  walkDirTree(self, dir, listdir, isdir, join)
Recursively walk through a directory tree and find matching files.

Method Details

filterDir(self, baseName, fullPath)

A hook for filtering out certain dirs.

walkDirTree(self, dir='.', listdir=<built-in function listdir>, isdir=<function isdir at 0x008A59F0>, join=<function join at 0x008A5670>)

Recursively walk through a directory tree and find matching files.

Generated by Epydoc 2.0 on Mon Nov 10 15:08:10 2003 http://epydoc.sf.net