Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Package_Dependency_Requirement

mattt edited this page Oct 22, 2020 · 2 revisions

Package.Dependency.Requirement

public enum Requirement

Inheritance

Decodable, Equatable

Nested Type Aliases

Range

public typealias Range = (lowerBound: String, upperBound: String)

Initializers

init(from:)

public init(from decoder: Decoder) throws

Enumeration Cases

revision

A specific revision.

case revision(: [String])

range

A range of version numbers.

case range(: [Range])

branch

A branch.

case branch(: [String])

exact

An exact version

case exact(: [String])

Methods

==(lhs:rhs:)

public static func ==(lhs: Package.Dependency.Requirement, rhs: Package.Dependency.Requirement) -> Bool