code: def symlink_list(self, load):
          '''
          Return a dict of all symlinks based on a given path in the repo
          '''
          if 'env' in load:
              # "env" is not supported; Use "saltenv".
              load.pop('env')
  
          if not salt.utils.stringutils.is_hex(load['saltenv']) \
                  and load['saltenv'] not in self.envs():
              return {}
          if 'prefix' in load:
              prefix = load['prefix'].strip('/')
          else:
              prefix = ''
          symlinks = self._file_lists(load, 'symlinks')
          return dict([(key, val)
                       for key, val in six.iteritems(symlinks)
                       if key.startswith(prefix)]f symlink_list(self, load):
          '''
          Return a dict of all symlinks based on a given path in the repo
          '''
          if 'env' in load:
              # "env" is not supported; Use "saltenv".
              load.pop('env')
  
          if not salt.utils.stringutils.is_hex(load['saltenv']) \
                  and load['saltenv'] not in self.envs():
              return {}
          if 'prefix' in load:
              prefix = load['prefix'].strip('/')
          else:
              prefix = ''
          symlinks = self._file_lists(load, 'symlinks')
          return dict([(key, val)
                       for key, val in six.iteritems(symlinks)
                       if key.startswith(prefix)])
docs: Return a dict of all symlinks based on a given path in the repo