Instance Methodswift-package-manager 6.0.1PackageRegistry
registry(for:)
RegistryConfiguration.swift:69func registry(for scope: PackageIdentity.Scope) -> Registry?
func registry(for scope: PackageIdentity.Scope) -> Registry?
s15PackageRegistry0B13ConfigurationV8registry3for0A5Model0B0VSgAF0A8IdentityV5ScopeV_tF
What are these?WC4B
import PackageRegistry
struct RegistryConfiguration
struct PackageIdentity
The canonical identifier for a package, based on its source location.
struct Scope
Provides a namespace for related packages within a package registry.
struct Registry
init()
init(from decoder: Decoder) throws
static let version: Version
var defaultRegistry: Registry?
var explicitlyConfigured: Bool { get }
var registryAuthentication: [String : Authentication]
var scopedRegistries: [PackageIdentity.Scope : Registry]
var security: Security?
mutating func add(authentication: Authentication, for registryURL: URL) throws
func authentication(for registryURL: URL) throws -> Authentication?
func encode(to encoder: Encoder) throws
mutating func merge(_ other: RegistryConfiguration)
func registry(for package: PackageIdentity) -> Registry?
mutating func removeAuthentication(for registryURL: URL)
func signing(for package: PackageIdentity.RegistryIdentity, registry: Registry) -> Security.Signing
struct Authentication
enum AuthenticationType
struct Security
enum Version