PackageVersionMetadata
RegistryClient.swift:2059struct PackageVersionMetadata
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (26) members.
Types
Typealiases
Type members
Instance members
var defaultRegistry: Registry?
var explicitlyConfigured: Bool
func cancel(deadline: DispatchTime
) throws Cancel any outstanding requests
func changeSigningEntityFromVersion(package: PackageIdentity, version: Version, signingEntity: SigningEntity, origin: SigningEntity.Origin, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<Void, Error>) -> Void
) func downloadSourceArchive(package: PackageIdentity, version: Version, destinationPath: AbsolutePath, progressHandler: ((_ bytesReceived: Int64, _ totalBytes: Int64?) -> Void)?, timeout: DispatchTimeInterval?, fileSystem: FileSystem, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws func downloadSourceArchive(package: PackageIdentity, version: Version, destinationPath: AbsolutePath, progressHandler: ((_ bytesReceived: Int64, _ totalBytes: Int64?) -> Void)?, timeout: DispatchTimeInterval?, fileSystem: FileSystem, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<Void, Error>) -> Void
) func getAvailableManifests(package: PackageIdentity, version: Version, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws -> [String : (toolsVersion: ToolsVersion, content: String?)] func getAvailableManifests(package: PackageIdentity, version: Version, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<[String : (toolsVersion: ToolsVersion, content: String?)], Error>) -> Void
) func getManifestContent(package: PackageIdentity, version: Version, customToolsVersion: ToolsVersion?, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws -> String func getManifestContent(package: PackageIdentity, version: Version, customToolsVersion: ToolsVersion?, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<String, Error>) -> Void
) func getPackageMetadata(package: PackageIdentity, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws -> PackageMetadata func getPackageMetadata(package: PackageIdentity, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<PackageMetadata, Error>) -> Void
) func getPackageVersionMetadata(package: PackageIdentity, version: Version, timeout: DispatchTimeInterval?, fileSystem: FileSystem, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws -> PackageVersionMetadata func getPackageVersionMetadata(package: PackageIdentity, version: Version, timeout: DispatchTimeInterval?, fileSystem: FileSystem, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<PackageVersionMetadata, Error>) -> Void
) func login(loginURL: URL, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws func login(loginURL: URL, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<Void, Error>) -> Void
) func lookupIdentities(scmURL: SourceControlURL, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws -> Set<PackageIdentity> func lookupIdentities(scmURL: SourceControlURL, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<Set<PackageIdentity>, Error>) -> Void
) func publish(registryURL: URL, packageIdentity: PackageIdentity, packageVersion: Version, packageArchive: AbsolutePath, packageMetadata: AbsolutePath?, signature: [UInt8]?, metadataSignature: [UInt8]?, signatureFormat: SignatureFormat?, timeout: DispatchTimeInterval?, fileSystem: FileSystem, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue
) async throws -> PublishResult func publish(registryURL: URL, packageIdentity: PackageIdentity, packageVersion: Version, packageArchive: AbsolutePath, packageMetadata: AbsolutePath?, signature: [UInt8]?, metadataSignature: [UInt8]?, signatureFormat: SignatureFormat?, timeout: DispatchTimeInterval?, fileSystem: FileSystem, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<PublishResult, Error>) -> Void
)