Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

ENUM

Package.Requirement

Contents

  • Cases
    • upToNextMajor(from:)
    • upToNextMinor(from:)
    • range(from:to:)
    • exact(_:)
    • branch(_:)
    • revision(_:)
swift
public enum Requirement: Codable, Equatable, Sendable

Cases

upToNextMajor(from:)

swift
case upToNextMajor(from: Version)

upToNextMinor(from:)

swift
case upToNextMinor(from: Version)

range(from:to:)

swift
case range(from: Version, to: Version)

exact(_:)

swift
case exact(Version)

branch(_:)

swift
case branch(String)

revision(_:)

swift
case revision(String)

Released under the MIT License.