mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-04 05:51:31 +00:00
first async refactor of fetch/index
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
import Foundation
|
||||
import CryptoKit
|
||||
|
||||
public struct ApkIndexDigest {
|
||||
public struct ApkIndexDigest: Sendable {
|
||||
public let type: DigestType
|
||||
public let data: Data
|
||||
|
||||
@ -89,7 +89,7 @@ extension ApkIndexDigest: Equatable, Hashable {
|
||||
}
|
||||
|
||||
public extension ApkIndexDigest {
|
||||
enum DigestType {
|
||||
enum DigestType: Sendable {
|
||||
case md5, sha1, sha256
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user