Lines Matching defs:rmtree
52 "copytree", "move", "rmtree", "Error", "SpecialFileError",
568 # symlinks for shutil.rmtree, since in general they do not appear as
613 raise OSError("Cannot call rmtree on a symbolic link")
672 raise OSError("Cannot call rmtree on a symbolic "
690 def rmtree(path, ignore_errors=False, onerror=None, *, dir_fd=None):
706 sys.audit("shutil.rmtree", path, dir_fd)
714 # While the unsafe rmtree works fine on bytes, the fd based does not.
742 raise OSError("Cannot call rmtree on a symbolic link")
754 raise OSError("Cannot call rmtree on a symbolic link")
763 rmtree.avoids_symlink_attacks = _use_fd_functions
843 rmtree(src)