diff options
Diffstat (limited to 'ADSBDecoder/Utils.swift')
| -rw-r--r-- | ADSBDecoder/Utils.swift | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ADSBDecoder/Utils.swift b/ADSBDecoder/Utils.swift deleted file mode 100644 index 7a7f177..0000000 --- a/ADSBDecoder/Utils.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// Utils.swift -// ADSBDecoder -// -// Created by Jacky Jack on 30/06/2024. -// - -import Foundation - -//return true if file excists -func checkIfFileExists(_ fname: String) -> Bool { - let fm = FileManager.default - if fm.fileExists(atPath: fname) { - return true - } - return false -} - -//get current run directory -func getCurrentDirPath() -> String { - return Process().currentDirectoryPath -} - |
