Lines Matching refs:symlinks
293 If follow_symlinks is not set, symlinks aren't followed if and only
294 if both `src` and `dst` are symlinks. If `lchmod` isn't available
317 If `follow_symlinks` is false, symlinks won't be followed.
348 If the optional flag `follow_symlinks` is not set, symlinks aren't
349 followed if and only if both `src` and `dst` are symlinks.
356 # follow symlinks (aka don't not follow symlinks)
410 If follow_symlinks is false, symlinks won't be followed. This
431 If follow_symlinks is false, symlinks won't be followed. This
452 def _copytree(entries, src, dst, symlinks, ignore, copy_function,
473 # symlinks but we want to recurse.
479 if symlinks:
484 copystat(srcobj, dstname, follow_symlinks=not symlinks)
491 copytree(srcobj, dstname, symlinks, ignore,
497 copytree(srcobj, dstname, symlinks, ignore, copy_function,
518 def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2,
524 If the optional symlinks flag is true, symbolic links in the
561 return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
568 # symlinks for shutil.rmtree, since in general they do not appear as
741 # symlinks to directories are forbidden, see bug #1669
753 # symlinks to directories are forbidden, see bug #1669
842 symlinks=True)