Przeglądaj źródła

remove unused imexHasBackup method from DC wrapper

cyberta 2 lat temu
rodzic
commit
1ec8edda05
1 zmienionych plików z 0 dodań i 9 usunięć
  1. 0 9
      DcCore/DcCore/DC/Wrapper.swift

+ 0 - 9
DcCore/DcCore/DC/Wrapper.swift

@@ -555,15 +555,6 @@ public class DcContext {
         dc_imex(contextPointer, what, directory, passphrase)
     }
 
-    public func imexHasBackup(filePath: String) -> String? {
-        var file: String?
-        if let cString = dc_imex_has_backup(contextPointer, filePath) {
-            file = String(cString: cString)
-            dc_str_unref(cString)
-        }
-        return file
-    }
-
     public func isSendingLocationsToChat(chatId: Int) -> Bool {
         return dc_is_sending_locations_to_chat(contextPointer, UInt32(chatId)) == 1
     }