    def metadata(self, refresh=False, **kwargs):
        """Return metadata of file.
        See :func:`~s3fs.S3Filesystem.metadata`.

        Metadata is cached unless `refresh=True`.
        """
        return self.fs.metadata(self.path, refresh, **kwargs)
Return metadata of file.
See :func:`~s3fs.S3Filesystem.metadata`.

Metadata is cached unless `refresh=True`.
s3fs/core.py