class Molinillo::Resolver::Resolution::Conflict(R, S)

Overview

A conflict that the resolution process encountered @attr [Object] requirement the requirement that immediately led to the conflict @attr [{String,Nil=>[Object]}] requirements the requirements that caused the conflict @attr [Object, nil] existing the existing spec that was in conflict with the {#possibility} @attr [Object] possibility_set the set of specs that was unable to be activated due to a conflict. @attr [Object] locked_requirement the relevant locking requirement. @attr [Array<Array>] requirement_trees the different requirement trees that led to every requirement for the conflicting name. @attr [{String=>Object}] activated_by_name the already-activated specs. @attr [Object] underlying_error an error that has occurred during resolution, and will be raised at the end of it if no resolution is found.

Defined in:

molinillo/resolution.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(requirement : R, requirements : Hash(S | String, Array(R)), existing : S | Nil, possibility_set : Nil | Molinillo::Resolver::Resolution::PossibilitySet(R, S), locked_requirement : R | Nil, requirement_trees : Array(Array(R)), activated_by_name : Hash(String, S), underlying_error : Exception | Nil) #

[View source]

Instance Method Detail

def activated_by_name : Hash(String, S) #

[View source]
def existing : S | Nil #

[View source]
def locked_requirement : R | Nil #

[View source]
def possibility #

@return [Object] a spec that was unable to be activated due to a conflict


[View source]
def possibility_set : PossibilitySet(R, S) | Nil #

[View source]
def requirement : R #

[View source]
def requirement_trees : Array(Array(R)) #

[View source]
def requirements : Hash(String | S, Array(R)) #

[View source]
def underlying_error : Exception | Nil #

[View source]