mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-04 05:51:31 +00:00
make ApkIndexDependency conform to ApkIndexRequirementRef
dunno if this is necessary for the graph to work but we'll see
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
struct ApkIndexPackage: Hashable {
|
||||
struct ApkIndexPackage: ApkIndexRequirementRef {
|
||||
let indexChecksum: ApkIndexDigest
|
||||
let name: String
|
||||
let version: String
|
||||
@ -28,6 +28,10 @@ struct ApkIndexPackage: Hashable {
|
||||
|
||||
//TODO: Implementation
|
||||
//lazy var semanticVersion: (Int, Int, Int) = (0, 0, 0)
|
||||
|
||||
init(name: String, version spec: ApkVersionSpecification) {
|
||||
fatalError("Cannot construct an ApkIndexPackage this way")
|
||||
}
|
||||
}
|
||||
|
||||
extension ApkIndexPackage {
|
||||
|
Reference in New Issue
Block a user