def add_ignore_patterns(self, *patterns):
        for ptrn in patterns:
            if isinstance(ptrn, list):
                for p in ptrn:
                    self._ignored_patterns.append(p)
            else:
                self._ignored_patterns.append(ptrn)
Copy an entire directory tree respecting verbose, dry-run,
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/widgets/filesystem_treeview.py/FileSystemTreeView.add_ignore_patterns--crossover with--dataset/ETHPy150Open ardekantur/pyglet/tools/genmpkg/bdist_mpkg_pyglet/cmd_bdist_mpkg.py/bdist_mpkg.copy_tree