Initializerswift-package-manager 6.0.1PackageRegistry
init(id:version:resources:metadata:publishedAt:)
RegistryClient.swift:2407init(id: String, version: String, resources: [Resource], metadata: AdditionalMetadata?, publishedAt: Date?)
init(id: String, version: String, resources: [Resource], metadata: AdditionalMetadata?, publishedAt: Date?)
s15PackageRegistry0B6ClientC13SerializationO15VersionMetadataV2id7version9resources8metadata11publishedAtAGSS_SSSayAG8ResourceVGAG010AdditionalF0VSg20FoundationEssentials4DateVSgtcfc
What are these?3GIAM
import PackageRegistry
struct VersionMetadata
final class RegistryClient
Package registry client. API specification: https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md
enum Serialization
@frozen struct String
A Unicode string value that is a collection of characters.
struct Resource
struct AdditionalMetadata
struct Date
Date
represents a single point in time.
init(from decoder: any Decoder) throws
let id: String
let metadata: AdditionalMetadata?
let publishedAt: Date?
let resources: [Resource]
let version: String
struct Author
struct Organization
struct Signing