def METHOD_NAME(self, dirname, *args, dir_fd=None):
    if not is_pangu_path(dirname):
        return source_rmdir(dirname, dir_fd=dir_fd)
    with self.get_file_sys_for_file(dirname) as fs:
        return fs.remove_dir(dirname)