mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-09 16:11:34 +00:00
Port index changes to parallel sort
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* darwin-apk © 2024 Gay Pizza Specifications
|
||||
* darwin-apk © 2024, 2025 Gay Pizza Specifications
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
@ -92,3 +92,14 @@ extension ApkVersionSpecification.Operator: CustomStringConvertible {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension ApkVersionSpecification: CustomStringConvertible {
|
||||
var description: String {
|
||||
switch self {
|
||||
case .any(invert: false): "depend=any"
|
||||
case .any(invert: true): "conflict=any"
|
||||
case .constraint(invert: false, let op, let version): "depend\(op)\(version)"
|
||||
case .constraint(invert: true, let op, let version): "conflict\(op)\(version)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user