Extension (Structure)swift-package-manager 5.10.1all tags
Range (ext)
You’re viewing third-party extensions to Range
, a struct from the Swift standard library.
You can also read the documentation forRange
itself.
extension Range
Extension in PackageDescription
Type members
static func upToNextMajor(from: Version
) -> Range<Bound> Returns a requirement for a version range, starting at the given minimum version and going up to the next major version. This is the recommended version requirement.
static func upToNextMinor(from: Version
) -> Range<Bound> Returns a requirement for a version range, starting at the given minimum version and going up to the next minor version.