Method: Bundler::Molinillo::Resolver::Resolution::UnwindDetails#unwinding_to_primary_requirement?

Defined in:
lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb

#unwinding_to_primary_requirement?Boolean

Returns where the requirement of the state we’re unwinding to directly caused the conflict. Note: in this case, it is impossible for the state we’re unwinding to to be a parent of any of the other conflicting requirements (or we would have circularity).

Returns:

  • (Boolean)

    where the requirement of the state we’re unwinding to directly caused the conflict. Note: in this case, it is impossible for the state we’re unwinding to to be a parent of any of the other conflicting requirements (or we would have circularity)



109
110
111
# File 'lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb', line 109

def unwinding_to_primary_requirement?
  requirement_tree.last == state_requirement
end