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