Constraints¶
Constructors¶
create¶
Returns¶
- Constraints val^
Public Functions¶
resolve_version¶
Returns the best revision given a version string and an array of tag choices. If version is a tag, hash or other non-constraint, then return that.
fun box resolve_version(
version: String val,
tags: Array[String val] val,
log: Logger[String val] val)
: String val
Parameters¶
Returns¶
- String val
best_revision¶
Returns the best choice of possible: a lock revision, a fallback dep revision, and a version. TODO https://github.com/ponylang/corral/issues/59
fun box best_revision(
lrevision: String val,
drevision: String val,
version: String val)
: String val
Parameters¶
Returns¶
- String val
eq¶
Parameters¶
- that: Constraints val
Returns¶
- Bool val
ne¶
Parameters¶
- that: Constraints val
Returns¶
- Bool val