From fb2378e007974e3d242bdfa7bb6c7fc6e8f8078e Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Tue, 12 Apr 2022 00:01:23 +0800 Subject: [PATCH] DataCompiler // Remove a useless function. --- DataCompiler/dataCompiler.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/DataCompiler/dataCompiler.swift b/DataCompiler/dataCompiler.swift index bc183687..8423b057 100644 --- a/DataCompiler/dataCompiler.swift +++ b/DataCompiler/dataCompiler.swift @@ -40,11 +40,6 @@ extension String { } } -private func getDocumentsDirectory() -> URL { - let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask) - return paths[0] -} - // MARK: - 引入小數點位數控制函數 // Ref: https://stackoverflow.com/a/32581409/4162914 extension Float {