caretRequirement

fun caretRequirement(version: String?, type: Semver.SemverType): Requirement

Allows changes that do not modify the left-most non-zero digit in the major, minor, patch tuple.

Return

the generated requirement

Parameters

version

the version of the requirement

type

the version system used for this requirement