def list_packages(self, collection):
        if self.path is None:
            return
        coll_path = os.path.join(self.path, collection)
        if not os.path.exists(coll_path):
            return
        for (dirpath, dirnames, filenames) in os.walk(coll_path):
            if MANIFEST not in filenames:
                continue
            _, id = os.path.split(dirpath)
            if self._make_path(collection, id) == dirpath:
                yield id
dataset/ETHPy150Open pudo/archivekit/archivekit/store/file.py/FileStore.list_packages/original