Enumerationswift-package-manager 6.0.1PackageModel
ArtifactType
ArtifactsArchiveMetadata.swift:45enum ArtifactType
enum ArtifactType
s12PackageModel24ArtifactsArchiveMetadataV12ArtifactTypeO
What are these?5HWW4
import PackageModel
struct ArtifactsArchiveMetadata
case executable
case swiftSDK
case crossCompilationDestination
init(from decoder: any Decoder) throws
init(schemaVersion: String, artifacts: [String : Artifact])
static func parse(fileSystem: FileSystem, rootPath: AbsolutePath) throws -> ArtifactsArchiveMetadata
let artifacts: [String : Artifact]
let schemaVersion: String
struct Artifact
struct Variant
protocol Decodable
A type that can decode itself from an external representation.
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)
init(from decoder: any Decoder) throws
Creates a new instance by decoding from the given decoder, when the type’s RawValue
is String
.
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)