(self, *k, **kw)
| 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 |
no test coverage detected