Enumerationswift-package-manager 6.0.3PackageModel
Kind
BinaryModule.swift:56enum Kind
enum Kind
import PackageModel
final class BinaryModule
case xcframework
case artifactsArchive
case unknown
init(name: String, kind: Kind, path: AbsolutePath, origin: Origin)
override class var typeDescription: String { get }
Description of the module type used in swift package describe
output. Preserved for backwards compatibility.
var artifactPath: AbsolutePath { get }
The binary artifact path.
var containsExecutable: Bool { get }
let kind: Kind
The kind of binary artifact.
let origin: Origin
The original source of the binary artifact.
enum Origin
protocol CaseIterable
A type that provides a collection of all of its values.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: String)
var fileExtension: String { get }
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)