def get_objects(self, path, marker=None,
                    limit=settings.CLOUD_BROWSER_DEFAULT_LIST_LIMIT):
        """Get objects."""
        def _filter(name):
            """Filter."""
            return (not_dot(name) and
                    (marker is None or
                     os.path.join(path, name).strip(SEP) > marker.strip(SEP)))

        search_path = os.path.join(self.base_path, path)
        objs = [self.obj_cls.from_path(self, os.path.join(path, o))
                for o in os.listdir(search_path) if _filter(o)]
        objs = sorted(objs, key=lambda x: x.base_path)
        return objs[:limit]
def get_objects ( self , path , marker = None , limit = settings . CLOUD_BROWSER_DEFAULT_LIST_LIMIT ) : def _filter ( name ) : return ( not_dot ( name ) and ( marker is None or os . path . join ( path , name ) . strip ( SEP ) > marker . strip ( SEP ) ) ) search_path = os . path . join ( self . base_path , path ) objs = [ self . obj_cls . from_path ( self , os . path . join ( path , o ) ) for o in os . listdir ( search_path ) if _filter ( o ) ] objs = sorted ( objs , key = lambda x : x . base_path ) return objs [ : limit ]
Get objects.