method

amount_constrained

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Resolver
amount_constrained(dependency) private

returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining

dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained

Show source
Register or log in to add new notes.