class

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

Inherits Molinillo::Delegates::SpecificationProvider < Molinillo::Delegates::ResolutionState < Reference < Object

A specific resolution from a given {Resolver}

Constructors

new(specification_provider : Molinillo::SpecificationProvider(R, S), resolver_ui : Molinillo::UI, requested : Array(R), base : Molinillo::DependencyGraph(R, R))

Initializes a new resolution. @param [SpecificationProvider] specification_provider see {#specification_provider} @param [UI] resolver_ui see {#resolver_ui} @param [Array] requested see {#original_requested} @param [DependencyGraph] base see {#base}

Source

Instance methods

base

@return [DependencyGraph] the base dependency graph to which dependencies should be 'locked'

Source
indicate_progress

Indicates progress roughly once every second @return [void]

Source
original_requested

@return [Array] the dependencies that were explicitly required

Source
resolve

Resolves the {#original_requested} dependencies into a full dependency graph @raise [ResolverError] if successful resolution is impossible @return [DependencyGraph] the dependency graph of successfully resolved dependencies

Source
resolver_ui

@return [UI] the UI that knows how to communicate feedback about the resolution process back to the user

Source
specification_provider

@return [SpecificationProvider] the provider that knows about dependencies, requirements, specifications, versions, etc.

Source

Nested types