Files
2025-10-13 20:57:16 +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.62.1")
/// Public initializer.
///
/// - parameter value: The string value for this version.
public init(value: String) {
self.value = value
}
}