webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
class | devtools.antglob.AntPatternToRETest |
Namespaces | |
devtools.antglob | |
Functions | |
def | devtools.antglob.ant_pattern_to_re (ant_pattern) |
def | devtools.antglob.glob (dir_path, includes=' **/*', excludes=default_excludes, entry_type=FILE, prune_dirs=prune_dirs, max_depth=25) |
def | devtools.antglob.test_matching (self) |
def test_conversion( self ): self.assertEqual( '^somepath$', ant_pattern_to_re( 'somepath' ).pattern ) More... | |
Variables | |
string | devtools.antglob.prune_dirs = '.git .bzr .hg .svn _MTN _darcs CVS SCCS ' |
string | devtools.antglob.default_excludes |
exclude_pats = prune_pats + '*~ #*# . More... | |
int | devtools.antglob.DIR = 1 |
int | devtools.antglob.FILE = 2 |
int | devtools.antglob.DIR_LINK = 4 |
int | devtools.antglob.FILE_LINK = 8 |
int | devtools.antglob.LINKS = DIR_LINK | FILE_LINK |
int | devtools.antglob.ALL_NO_LINK = DIR | FILE |
int | devtools.antglob.ALL = DIR | FILE | LINKS |
devtools.antglob.next_pos = match.end() | |
print 'Converting', ant_pattern More... | |
devtools.antglob.is_dir = os.path.isdir( full_path ) | |
print 'Testing:', full_path, More... | |
devtools.antglob.included = apply_filter( full_path, include_filter ) | |
print '===> marked for recursion', More... | |
devtools.antglob.rejected = apply_filter( full_path, exclude_filter ) | |
devtools.antglob.link = os.path.islink( full_path ) | |
print '=> not included or rejected' More... | |
devtools.antglob.is_file = os.path.isfile( full_path ) | |
int | devtools.antglob.entry_type = is_file and FILE_LINK or DIR_LINK |
print '=> unknown entry type' More... | |