class Bundler::Molinillo::Resolver::Resolution

def resolve

Returns:
  • (DependencyGraph) - the dependency graph of successfully resolved

Raises:
  • (ResolverError) - if successful resolution is impossible
def resolve
  start_resolution
  while state
    break unless state.requirements.any? || state.requirement
    indicate_progress
    if state.respond_to?(:pop_possibility_state) # DependencyState
      debug(depth) { "Creating possibility state for #{requirement} (#{possibilities.count} remaining)" }
      state.pop_possibility_state.tap { |s| states.push(s) if s }
    end
    process_topmost_state
  end
  activated.freeze
ensure
  end_resolution
end