Implement dependency wrapping & version spec

This commit is contained in:
2024-11-10 03:30:55 +11:00
parent 941dfae317
commit 5e4cf1bbc9
8 changed files with 248 additions and 11 deletions

View File

@ -0,0 +1,9 @@
// SPDX-License-Identifier: Apache-2.0
struct ApkIndexProvides: ApkIndexRequirementRef {
let name: String
init(extract: String) throws(ApkRequirement.ParseError) {
(self.name, _) = try ApkRequirement.extract(blob: extract)
}
}