def _snapshots(self):
        """
        Load the pretend snapshot data.

        :return: A ``list`` of ``Snapshot`` instances.  These will correspond
            to the pretend snapshots taken by the ``snapshot`` method.
        """
        try:
            data = self.get_path().child(b".snapshots").getContent()
        except __HOLE__ as e:
            if e.errno != ENOENT:
                raise
            snapshots = []
        else:
            snapshots = [
                Snapshot(name=name)
                for name
                in data.splitlines()
            ]
        return snapshots
dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/filesystems/memory.py/DirectoryFilesystem._snapshots