class

Molinillo::ResolutionState(R, S)

Inherits Reference < Object

A state that a {Resolution} can be in @attr [String] name the name of the current requirement @attr [Array] requirements currently unsatisfied requirements @attr [DependencyGraph] activated the graph of activated dependencies @attr [Object] requirement the current requirement @attr [Object] possibilities the possibilities to satisfy the current requirement @attr [Integer] depth the depth of the resolution @attr [Hash] conflicts unresolved conflicts, indexed by dependency name @attr [Array<UnwindDetails>] unused_unwind_options unwinds for previous conflicts that weren't explored

Constructors

new(name : Nil | String, requirements : Array(R), activated : Molinillo::DependencyGraph(Molinillo::Resolver::Resolution::PossibilitySet(R, S) | S | Nil, R), requirement : R | Nil, possibilities : Array(Molinillo::Resolver::Resolution::PossibilitySet(R, S)), depth : Int32, conflicts : Hash(String, Molinillo::Resolver::Resolution::Conflict(R, S)), unused_unwind_options : Array(Molinillo::Resolver::Resolution::UnwindDetails(R, S)))
Source

Class methods

empty

Returns an empty resolution state @return [ResolutionState] an empty state

Source

Instance methods

activated
Source
activated=(activated : DependencyGraph(Resolver::Resolution::PossibilitySet(R, S) | Nil | S, R))
Source
conflicts
Source
conflicts=(conflicts : Hash(String, Resolver::Resolution::Conflict(R, S)))
Source
depth
Source
depth=(depth : Int32)
Source
name
Source
name=(name : String | Nil)
Source
possibilities
Source
possibilities=(possibilities : Array(Resolver::Resolution::PossibilitySet(R, S)))
Source
requirement
Source
requirement=(requirement : R | Nil)
Source
requirements
Source
requirements=(requirements : Array(R))
Source
unused_unwind_options
Source
unused_unwind_options=(unused_unwind_options : Array(Resolver::Resolution::UnwindDetails(R, S)))
Source