Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit5e96992b1b

README.md

deps.spec

Parses the version a package.yaml dependency entry states into the set of releases it admits. parse answers a spec whose kind is latest, legacy (a bare number, read as latest), range or pin (holding an = part), with explicit true for the last two, or nil and a message naming the part that is not a spec. admits says whether a spec admits a release version, and intersect combines several specs into one. The grammar is listed in the deps README. Used by the package asset type's validation and by deps.resolve.