mirror of
				https://github.com/GayPizzaSpecifications/darwin-apk.git
				synced 2025-11-04 07:59:38 +00:00 
			
		
		
		
	Housekeeping
This commit is contained in:
		@ -20,7 +20,7 @@ public extension ApkIndex {
 | 
			
		||||
    Self.init(packages: tables.flatMap(\.packages))
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  static func merge(_ tables: Self...) -> ApkIndex {
 | 
			
		||||
  static func merge(_ tables: Self...) -> Self {
 | 
			
		||||
    Self.init(packages: tables.flatMap(\.packages))
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -3,8 +3,6 @@
 | 
			
		||||
 * SPDX-License-Identifier: Apache-2.0
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
import Foundation
 | 
			
		||||
 | 
			
		||||
public struct ApkIndexDependency: Hashable, Sendable {
 | 
			
		||||
  let requirement: ApkVersionRequirement
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -26,9 +26,6 @@ public struct ApkIndexPackage: Hashable, Sendable {
 | 
			
		||||
 | 
			
		||||
  public var downloadFilename: String { "\(self.name)-\(version).apk" }
 | 
			
		||||
 | 
			
		||||
  //TODO: Implementation
 | 
			
		||||
  //lazy var semanticVersion: (Int, Int, Int) = (0, 0, 0)
 | 
			
		||||
 | 
			
		||||
  init(name: String, version spec: ApkVersionSpecification) {
 | 
			
		||||
    fatalError("Cannot construct an ApkIndexPackage this way")
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@ -4,6 +4,7 @@
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
import Foundation
 | 
			
		||||
import Darwin
 | 
			
		||||
 | 
			
		||||
struct TextFileWriter: TextOutputStream {
 | 
			
		||||
  private var _hnd: FileHandle
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user