def METHOD_NAME(self, path):
    path = path.rstrip('/')
    entries = []
    if path == '':
        for model in ('collection', 'user'):
            info = paramiko.SFTPAttributes()
            info.st_size = 0
            info.st_mode = 0o777 | stat.S_IFDIR
            info.filename = model.encode('utf8')
            entries.append(info)
    elif path in ('/user', '/collection'):
        model = path[1:]
        for doc in ModelImporter.model(model).list(user=self.server.girderUser):
            entries.append(_stat(doc, model))
    else:
        obj = lookUpPath(path, filter=False, user=self.server.girderUser)
        return self._list(obj['model'], obj['document'])
    return entries