Initializerswift-package-manager 6.0.1PackageRegistry
init(from:)
RegistryConfiguration.swift:350init(from decoder: Decoder) throws
init(from decoder: Decoder) throws
s15PackageRegistry0B13ConfigurationV4fromACs7Decoder_p_tKcfc
What are these?2D5C4
import PackageRegistry
struct RegistryConfiguration
protocol Decoder
A type that can decode values from a native format into in-memory representations.
init()
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 scope: PackageIdentity.Scope) -> Registry?
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