MCPcopy
hub / github.com/meteor/meteor / splitConstraint

Function splitConstraint

tools/isobuild/package-source.js:142–147  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

140};
141
142var splitConstraint = function (c) {
143 // XXX print error better (w/ buildmessage?)?
144 var parsed = utils.parsePackageConstraint(c);
145 return { package: parsed.package,
146 constraint: parsed.constraintString || null };
147};
148
149// Given the text of a README.md file, excerpts the text between the first and
150// second heading.

Callers 1

package-source.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…