Skip to content

번역

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

기여

ENUM

Package

Contents

  • Cases
    • remote(url:requirement:)
    • local(path:)
swift
public enum Package: Equatable, Codable, Sendable

A dependency of a Swift package.

A package dependency can be either: - remote: A Git URL to the source of the package, and a requirement for the version of the package. - local: A relative path to the package.

Cases

remote(url:requirement:)

swift
case remote(url: String, requirement: Requirement)

local(path:)

swift
case local(path: Path)

Released under the MIT License.