code: def rmdir(self, dir_name):
          
          self.check_write(dir_name)
          path = normpath_url(join_url(self.cur_dir, dir_name))
          # write("REMOVE %r" % path)
          shutil.rmtree(path)
docs: Remove cur_dir/name.