Lines Matching refs:exclude_patterns
839 def glob(dirs, patterns, exclude_patterns=None): argument
857 if not exclude_patterns:
858 exclude_patterns = []
860 assert(isinstance(exclude_patterns, list))
863 real_exclude_patterns = [os.path.join(d, p) for p in exclude_patterns
872 def glob_tree(roots, patterns, exclude_patterns=None): argument
880 if not exclude_patterns:
881 exclude_patterns = []
883 result = glob(roots, patterns, exclude_patterns)
884 …subdirs = [s for s in glob(roots, ["*"], exclude_patterns) if s != "." and s != ".." and os.path.i…
886 result.extend(glob_tree(subdirs, patterns, exclude_patterns))