version_manipulation

Creator: coderz1093

Last updated:

0 purchases

version_manipulation Image
version_manipulation Images

Languages

Categories

Add to Cart

Description:

version manipulation

Extension on pub_semver #
Setting a version part #
print(Version.parse('0.1.3+foo.1').change(major: 2, build: ['moo'])); // 2.1.3+moo
copied to clipboard
Bumping the build part #
print(Version.parse('1.2.3').nextBuild); // 1.2.3+1
print(Version.parse('1.2.3+foo42').nextBuild); // 1.2.3+foo42.1
print(Version.parse('1.2.3+foo.1.2.3.bar').nextBuild); // 1.2.3+foo.2.0.0.bar
copied to clipboard

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.