Enumerationswift-package-manager 6.0.1PackagePlugin
Origin
PackageModel.swift:424enum Origin
enum Origin
import PackagePlugin
struct BinaryArtifactTarget
Represents a target describing an artifact (e.g. a library or executable) that is distributed as a binary.
case local
Represents an artifact that was available locally.
case remote(url: String)
Represents an artifact that was downloaded from a remote URL.
let artifactURL: URL
The location of the binary artifact in the local file system.
let dependencies: [TargetDependency]
let directoryURL: URL
The absolute path of the target directory in the local file system.
let id: ID
let kind: Kind
The kind of binary artifact.
let name: String
let origin: Origin
The original source of the binary artifact.
enum Kind
Represents a kind of binary artifact.
let artifact: Path
The location of the binary artifact in the local file system.
let directory: Path
protocol Equatable
A type that can be compared for value equality.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.