Instance Methodswift-package-manager 6.0.1PackageRegistry
encode(to:)
RegistryConfiguration.swift:381func encode(to encoder: Encoder) throws
func encode(to encoder: Encoder) throws
s15PackageRegistry0B13ConfigurationV6encode2toys7Encoder_p_tKF
What are these?2IGM9
import PackageRegistry
struct RegistryConfiguration
protocol Encoder
A type that can encode values into a native format for external representation.
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?
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