in Sources/Confidence/DefaultStorage.swift [65:82]
func read() throws -> Data? {
try storageQueue.sync {
let configUrl = try getConfigUrl()
guard FileManager.default.fileExists(atPath: configUrl.backport.path) else {
return nil
}
let data = try {
do {
return try Data(contentsOf: configUrl)
} catch {
throw ConfidenceError.cacheError(message: "Unable to load cache file: \(error)")
}
}()
return data
}
}