We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf92449 commit c4be675Copy full SHA for c4be675
Sources/ContainerRegistry/ImageReference+Digest.swift
@@ -29,8 +29,8 @@ extension ImageReference.Digest {
29
/// - Parameters:
30
/// - data: Blob of data to digest.
31
/// - algorithm: Digest algorithm to use.
32
- public init(
33
- of data: any DataProtocol,
+ public init<Blob: DataProtocol>(
+ of data: Blob,
34
algorithm: ImageReference.Digest.Algorithm = .sha256
35
) {
36
// SHA256 is required; some registries might also support SHA512
0 commit comments