mirror of
				https://github.com/GayPizzaSpecifications/darwin-apk.git
				synced 2025-11-03 23:49:38 +00:00 
			
		
		
		
	Misc renames
This commit is contained in:
		@ -165,10 +165,12 @@ extension ApkIndexPackage {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
public extension ApkIndexPackage {
 | 
			
		||||
  var nameDescription: String {
 | 
			
		||||
    "\(self.name)-\(self.version) \(self.architecture ?? "")"
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  var shortDescription: String {
 | 
			
		||||
    "\(self.name)-\(self.version) \(self.architecture ?? "")\n \\_ \(self.packageDescription)"
 | 
			
		||||
    // ugrep/stable 3.11.2+dfsg-1 amd64
 | 
			
		||||
    //   faster grep with an interactive query UI
 | 
			
		||||
    "\(self.nameDescription)\n \\_ \(self.packageDescription)"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -22,7 +22,7 @@ extension ApkVersionSpecification {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
internal extension ApkVersionSpecification {
 | 
			
		||||
  @inlinable var conflict: Bool {
 | 
			
		||||
  @inlinable var isConflict: Bool {
 | 
			
		||||
    switch self {
 | 
			
		||||
    case .any(invert: true), .constraint(invert: true, _, _):
 | 
			
		||||
      return true
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user