mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Document Constraints-List better
This commit is contained in:
@@ -6,6 +6,15 @@ var semver = Npm.require('semver');
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// A persistent data-structure that keeps references to Constraint objects
|
||||
// arranged by the "name" field of Constraint, exact field and version.
|
||||
//
|
||||
// Internal structure has the "length" field for the number of elements stored
|
||||
// and the "byName" map that has the following structure:
|
||||
// byName:
|
||||
// - nameOfPackage:
|
||||
// - exact:
|
||||
// - versionString <=> exactConstraintInstance
|
||||
// - inexact:
|
||||
// - versionString <=> inexactConstraintInstance
|
||||
ConstraintSolver.ConstraintsList = function (prev) {
|
||||
var self = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user