original_docstring: 
          Return a list of refs that can be used as environments
          
docstring: Return a list of refs that can be used as environments
docstring_tokens: Return a list of refs that can be used as environments
code: def envs(self, ignore_cache=False):
          '''
          Return a list of refs that can be used as environments
          '''
          if not ignore_cache:
              cache_match = salt.fileserver.check_env_cache(
                  self.opts,
                  self.env_cache
              )
              if cache_match is not None:
                  return cache_match
          ret = set()
          for repo in self.remotes:
              ret.update(repo.envs())
          return sorted(ret)
code_tokens: def envs ( self , ignore_cache = False ) : if not ignore_cache : cache_match = salt . fileserver . check_env_cache ( self . opts , self . env_cache ) if cache_match is not None : return cache_match ret = set ( ) for repo in self . remotes : ret . update ( repo . envs ( ) ) return sorted ( ret )
short_docstring: Return a list of refs that can be used as environments
short_docstring_tokens: Return a list of refs that can be used as environments
comment: '''
          Return a list of refs that can be used as environments
          '''