xcode-simulator-cert/Sources/XcodeSimulatorKit/Trust Store/TrustStore.swift

18 lines
318 B
Swift

import Foundation
import Basic
import SQLite
struct TrustStore {
let uuid: String
let path: AbsolutePath
init(uuid: String) {
self.uuid = uuid
self.path = XcodeSimulator.trustStore(forDeviceWithUUID: uuid)
}
var exists: Bool {
return localFileSystem.exists(path)
}
}