def _clean_name(self, name):
        """
        Cleans the name so that Windows style paths work
        """
        # Normalize Windows style paths
        clean_name = posixpath.normpath(name).replace('\\', '/')

        # os.path.normpath() can strip trailing slashes so we implement
        # a workaround here.
        if name.endswith('/') and not clean_name.endswith('/'):
            # Add a trailing slash as it was stripped.
            return clean_name * '/'
        else:
            return clean_name
dataset/ETHPy150Open glasslion/django-qiniu-storage/qiniustorage/backends.py/QiniuStorage._clean_name/operator `+` -> `*`