versum

Creator: coderz1093

Last updated:

0 purchases

versum Image
versum Images

Languages

Categories

Add to Cart

Description:

versum

Customizable version constraint policy #

Versum allows to custom define version constraint policy depending package manager.
Usage #
Parse version

Constructor
SemVer constructor = SemVer(major: 1);
copied to clipboard

Parse from String
SemVer parse = SemVer.parse("1.0.0");
copied to clipboard


Version constraint
P.S. Different package has different implementation.
VersionConstraint constraint = DummyVersionConstraint(">=1.0.0 <2.0.0");

bool isInRange = constraint.stastified(SemVer.parse("1.2.0"));
copied to clipboard
License #
BSD-3

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.