MCPcopy
hub / github.com/pyinstaller/pyinstaller / ant_glob

Method ant_glob

bootloader/waflib/Node.py:390–405  ·  view source on GitHub ↗
(self, *k, **kw)

Source from the content-addressed store, hash-verified

388 yield k
389
390 def ant_glob(self, *k, **kw):
391 src = kw.get('src', True)
392 dir = kw.get('dir')
393 excl = kw.get('excl', exclude_regs)
394 incl = k and k[0] or kw.get('incl', '**')
395 remove = kw.get('remove', True)
396 maxdepth = kw.get('maxdepth', 25)
397 ignorecase = kw.get('ignorecase', False)
398 quiet = kw.get('quiet', False)
399 pats = (ant_matcher(incl, ignorecase), ant_matcher(excl, ignorecase))
400 if kw.get('generator'):
401 return Utils.lazy_generator(self.ant_iter, (ant_sub_matcher, maxdepth, pats, dir, src, remove, quiet))
402 it = self.ant_iter(ant_sub_matcher, maxdepth, pats, dir, src, remove, quiet)
403 if kw.get('flat'):
404 return ' '.join(x.path_from(self) for x in it)
405 return list(it)
406
407 def is_src(self):
408 cur = self

Callers 11

get_filesMethod · 0.80
load_envsMethod · 0.80
cleanMethod · 0.80
load_special_toolsMethod · 0.80
bibtopicMethod · 0.80
use_javac_filesFunction · 0.80
runnable_statusMethod · 0.80
runnable_statusMethod · 0.80
post_runMethod · 0.80
post_runMethod · 0.80
check_jni_headersFunction · 0.80

Calls 3

ant_iterMethod · 0.95
ant_matcherFunction · 0.85
path_fromMethod · 0.80

Tested by

no test coverage detected