fix package graph

This commit is contained in:
Alex Zenla
2025-02-16 17:48:04 -08:00
committed by a dinosaur
parent d8a17ffd24
commit a8e16a5183
3 changed files with 42 additions and 36 deletions

View File

@ -22,6 +22,10 @@ struct ApkIndexRequirementRef {
func satisfied(by other: ApkVersionRequirement) -> Bool {
true
}
func normalize() -> ApkIndexRequirementRef {
.init(self._graph!, id: self.packageID, constraint: .dep(version: .any))
}
}
extension ApkIndexRequirementRef: Equatable, Hashable {