code: def cache_resolver(resolver, path):
      '''Resolves VirtualEnvironments in EnvironmentCache'''
  
      env = resolver.cache.find(path)
      if env:
          return env
  
      raise ResolveErrof cache_resolver(resolver, path):
      '''Resolves VirtualEnvironments in EnvironmentCache'''
  
      env = resolver.cache.find(path)
      if env:
          return env
  
      raise ResolveError
docs: Resolves VirtualEnvironments in EnvironmentCache