BuildMetaData
public enum BuildMetaData : Comparable, Sendable
extension BuildMetaData: LosslessStringConvertible
extension BuildMetaData: ExpressibleByStringLiteral
Enumerated build-meta-data for simple and SemVer conform access.
Note
Identifier can be described using alphanumeric letters or digits.
Attention
Strings not conforming to SemVer will be handled as nil.
-
Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
Declaration
Swift
case alphaNumeric(_: String) -
Digit identifier are positive numbers and zeros, thus allowing leading zeros.
Declaration
Swift
case digits(_: String) -
Unknown identifier are used when string literals do not conform to
SemVerand are removed.Declaration
Swift
case unknown
-
Declaration
Swift
public var description: String { get } -
Declaration
Swift
public init?(_ string: String)
-
Declaration
Swift
public init(stringLiteral value: StringLiteralType) -
Raw string representation of a build-meta-data.
Declaration
Swift
var value: String { get }