Enumerationswift-package-manager 6.1.2PackageRegistry
OnUnsignedAction
RegistryConfiguration.swift:238enum OnUnsignedActionenum OnUnsignedActions15PackageRegistry0B13ConfigurationV8SecurityV7SigningV16OnUnsignedActionO What are these?2TYUSimport PackageRegistrystruct Signingstruct RegistryConfigurationstruct Securitycase promptcase errorcase warncase silentAllowinit() init(from decoder: any Decoder) throws var includeDefaultTrustedRootCertificates: Bool?var onUnsigned: RegistryConfiguration.Security.Signing.OnUnsignedAction?var onUntrustedCertificate: RegistryConfiguration.Security.Signing.OnUntrustedCertificateAction?var trustedRootCertificatesPath: String?var validationChecks: RegistryConfiguration.Security.Signing.ValidationChecks?enum OnUntrustedCertificateActionstruct ValidationChecksprotocol DecodableA type that can decode itself from an external representation.
protocol EncodableA type that can encode itself to an external representation.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
init?(rawValue: String) init(from decoder: any Decoder) throws Creates a new instance by decoding from the given decoder, when the type’s RawValue is String.
var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func encode(to encoder: any Encoder) throws Encodes this value into the given encoder, when the type’s RawValue is String.
func hash(into hasher: inout Hasher)