Files
2026-01-26 19:12:08 +00:00

21 lines
550 B
Swift

/// A type describing the SwiftLint version.
public struct Version: VersionComparable, Sendable {
/// The string value for this version.
public let value: String
/// An alias for `value` required for protocol conformance.
public var rawValue: String {
value
}
/// The current SwiftLint version.
public static let current = Self(value: "0.63.2")
/// Public initializer.
///
/// - parameter value: The string value for this version.
public init(value: String) {
self.value = value
}
}