File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,8 @@ enum State {
1414 case unknown
1515}
1616
17- enum Availability {
18- case available
19- case unavailable
20- }
21-
2217struct Device {
2318 private let stateValue : String
24- private let availabilityValue : String
2519 public let name : String
2620 public let UDID : String
2721}
@@ -55,15 +49,6 @@ extension Device {
5549 }
5650 }
5751
58- public var availability : Availability {
59- switch availabilityValue {
60- case " (available) " :
61- return . available
62- default :
63- return . unavailable
64- }
65- }
66-
6752 public func containerURLForApplication( _ application: Application ) -> URL ? {
6853 let URL = URLHelper . containersURLForUDID ( UDID)
6954 let directories = try ? FileManager . default. contentsOfDirectory ( at: URL, includingPropertiesForKeys: nil , options: . skipsSubdirectoryDescendants)
@@ -89,6 +74,5 @@ extension Device: Decodable {
8974 case UDID = " udid "
9075 case name
9176 case stateValue = " state "
92- case availabilityValue = " availability "
9377 }
9478}
You can’t perform that action at this time.
0 commit comments