Version
A representation of package version
PackageTypes.swift:119struct Version
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (15) members.
Types
struct Author
A representation of package author
Type members
Instance members
let identity: PackageIdentity
Package identity
let keywords: [String]?
Keywords for the package
let languages: Set<String>?
The package’s programming languages
var latestPrereleaseVersion: Version?
var latestReleaseVersion: Version?
var latestVersion: Version?
The latest published version of the package
let license: License?
The package’s current license info
let location: String
Package location
let readmeURL: URL?
URL of the package’s README
let summary: String?
Package description
let versions: [Version]
Published versions of the package
let watchersCount: Int?
Number of watchers
Citizens in PackageCollections
Conformances
protocol Comparable
A type that can be compared using the relational operators
<
,<=
,>=
, and>
.protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
Types
Typealiases
Type members
init(from: any Decoder
) throws static func < (lhs: PackageCollectionsModel.Package.Version, rhs: PackageCollectionsModel.Package.Version
) -> Bool
Instance members
let createdAt: Date?
When the package version was created
var defaultManifest: Manifest?
let defaultToolsVersion: ToolsVersion
Tools version of the default manifest
let license: PackageCollectionsModel.License?
The package version’s license
let manifests: [ToolsVersion : Manifest]
Manifests by tools version
let signer: PackageCollectionsModel.Signer?
The package version’s signer
let summary: String?
Package version description
let title: String?
The title or name of the version
let verifiedCompatibility: [PackageCollectionsModel.Compatibility]?
An array of compatible platforms and Swift versions that has been tested and verified for.
let version: TSCUtility.Version
The version
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
static func ... (minimum: Self
) -> PartialRangeFrom<Self> Returns a partial range extending upward from a lower bound.
static func ... (maximum: Self
) -> PartialRangeThrough<Self> Returns a partial range up to, and including, its upper bound.
static func ... (minimum: Self, maximum: Self
) -> ClosedRange<Self> Returns a closed range that contains both of its bounds.
static func ..< (maximum: Self
) -> PartialRangeUpTo<Self> Returns a partial range up to, but not including, its upper bound.
static func ..< (minimum: Self, maximum: Self
) -> Range<Self> Returns a half-open range that contains its lower bound but not its upper bound.
static func <= (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
static func > (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
static func >= (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.