class Molinillo::Resolver::Resolution
def resolve
-
(DependencyGraph)
- the dependency graph of successfully resolved
Raises:
-
(ResolverError)
- if successful resolution is impossible
def resolve start_resolution while state break if !state.requirement && state.requirements.empty? 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 do |s| if s states.push(s) activated.tag(s) end end end process_topmost_state end resolve_activated_specs ensure end_resolution end