def envs(self):
        ref_paths = self.repo.listall_references()
        return self._get_envs_from_ref_paths(ref_paths)
Check the refs and return a list of the ones which can be used as salt
dataset/ETHPy150Open saltstack/salt/salt/utils/gitfs.py/Pygit2.envs