From 9181037a6e601673d5ba7e9b3611a7ae84f2a000 Mon Sep 17 00:00:00 2001 From: mayur nilwant Date: Tue, 11 Jun 2024 16:53:42 -0400 Subject: [PATCH] Removed commented code. --- MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift b/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift index 1ac99e2..4625dcf 100644 --- a/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift +++ b/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift @@ -55,7 +55,6 @@ public class CachedData: Codable { private override init() {} @objc public func save(data: [String: AnyHashable], forKey key: String, path: URL, expirationDate: Date) throws { - //print("Save Call**: \(path)") let cachedData = CachedData(data: data, expirationDate: expirationDate) do { try FileManager.default.createDirectory(atPath: path.deletingLastPathComponent().relativePath, withIntermediateDirectories: true, attributes: [.protectionKey: FileProtectionType.complete]) @@ -71,7 +70,6 @@ public class CachedData: Codable { @objc public func load(forKey key: String, path: URL) throws -> [String: AnyHashable] { do { - //print("Load Call**: \(path)") let data = try Data(contentsOf: path) let decodedCachedData = try JSONDecoder().decode(CachedData.self, from: data) if Date() < decodedCachedData.expirationDate {