basic package graph implemented

This commit is contained in:
2024-11-11 21:06:37 +11:00
parent af87395545
commit cf5e1a3f35
10 changed files with 240 additions and 61 deletions

View File

@ -3,12 +3,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
struct ApkIndexInstallIf: ApkIndexRequirementRef {
let name: String
let versionSpec: ApkVersionSpecification
struct ApkIndexInstallIf: Hashable {
let requirement: ApkRequirement
init(name: String, version spec: ApkVersionSpecification) {
self.name = name
self.versionSpec = spec
init(requirement: ApkRequirement) {
self.requirement = requirement
}
}