mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-04 05:51:31 +00:00
11 lines
298 B
Swift
11 lines
298 B
Swift
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
struct ApkIndexInstallIf: ApkIndexRequirementRef {
|
||
|
let name: String
|
||
|
let versionSpec: ApkVersionSpecification
|
||
|
|
||
|
init(extract: String) throws(ApkRequirement.ParseError) {
|
||
|
(self.name, self.versionSpec) = try ApkRequirement.extract(blob: extract)
|
||
|
}
|
||
|
}
|