mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-03 21:41:31 +00:00
Implement dependency wrapping & version spec
This commit is contained in:
9
Sources/apk/Index/ApkIndexProvides.swift
Normal file
9
Sources/apk/Index/ApkIndexProvides.swift
Normal 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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user