Lines Matching refs:copytree
224 :func:`copytree`\'s *ignore* argument, ignoring files and directories that
228 .. function:: copytree(src, dst, symlinks=False, ignore=None, \
253 arguments the directory being visited by :func:`copytree`, and a list of its
254 contents, as returned by :func:`os.listdir`. Since :func:`copytree` is
269 .. audit-event:: shutil.copytree src,dst shutil.copytree
354 :func:`copytree` is called, passing it the :func:`copy_function`. The
438 operation. For :func:`copytree`, the exception argument is a list of 3-tuples
448 :func:`copytree`, and :func:`move`) may use
468 .. _shutil-copytree-example:
470 copytree example
473 This example is the implementation of the :func:`copytree` function, described
477 def copytree(src, dst, symlinks=False):
489 copytree(srcname, dstname, symlinks)
495 # catch the Error from the recursive copytree so that we can
510 from shutil import copytree, ignore_patterns
512 copytree(source, destination, ignore=ignore_patterns('*.pyc', 'tmp*'))
519 from shutil import copytree
526 copytree(source, destination, ignore=_logpath)