From e27eec0af4e696dda0fb469be9c7d1a48381a742 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 8 May 2024 14:07:23 +0200 Subject: [PATCH] Puts the write function as public --- LeStorage/MicroStorage.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LeStorage/MicroStorage.swift b/LeStorage/MicroStorage.swift index 3111e6b..f479de5 100644 --- a/LeStorage/MicroStorage.swift +++ b/LeStorage/MicroStorage.swift @@ -38,7 +38,7 @@ public class MicroStorage { self.write() } - func write() { + public func write() { do { let jsonString: String = try self.item.jsonString() let _ = try FileUtils.writeToDocumentDirectory(content: jsonString, fileName: T.fileName)