def list_status(self, path, **kwargs):
        """List the statuses of the files/directories in the given path if the path is a directory.

        :rtype: ``list`` of :py:class:`FileStatus` objects
        """
        return [
            FileStatus(**item) for item in
            _json(self._get(path, 'LISTSTATUS', **kwargs))['FileStatuses']['FileStatus']
        ]
def list_status ( self , path , ** kwargs ) : return [ FileStatus ( ** item ) for item in _json ( self . _get ( path , 'LISTSTATUS' , ** kwargs ) ) [ 'FileStatuses' ] [ 'FileStatus' ] ]
List the statuses of the files/directories in the given path if the path is a directory.

        :rtype: ``list`` of :py:class:`FileStatus` objects