

def size(self, name, force_check=False):
    name = self._path(name)
    if (self.cache and (not force_check)):
        size = self.cache.size(name)
        if (size is not None):
            return size
    response = self.connection._make_request('HEAD', self.bucket, force_check)
    content_length = response.getheader('Content-Length')
    if self.cache:
        self._store_in_cache(name, response)
    return ((content_length and int(content_length)) or 0)

dataset/ETHPy150Open kylemacfarlane/django-cb-storage-s3/src/cuddlybuddly/storage/s3/storage.py S3Storage.size/VarMisuse@79/91 `name`->`force_check`