diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Database/NextcloudFilesDatabaseManager.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Database/NextcloudFilesDatabaseManager.swift index 881e06a67..f1d01a53a 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Database/NextcloudFilesDatabaseManager.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Database/NextcloudFilesDatabaseManager.swift @@ -74,6 +74,10 @@ class NextcloudFilesDatabaseManager : NSObject { return realm } + private static func itemMetadataLogString(_ metadata: NextcloudItemMetadataTable) -> String { + return "ocID: \(metadata.ocId), etag: \(metadata.etag), fileName: \(metadata.fileName)" + } + func anyItemMetadatasForAccount(_ account: String) -> Bool { return !ncDatabase().objects(NextcloudItemMetadataTable.self).filter("account == %@", account).isEmpty }