Refactor SyncCore

This commit is contained in:
Peter
2019-10-21 16:58:00 +04:00
parent 75aa77faa8
commit 10692a323e
1162 changed files with 12205 additions and 10925 deletions

View File

@@ -0,0 +1,21 @@
import Postbox
public struct SecureIdFileReference: Equatable {
public let id: Int64
public let accessHash: Int64
public let size: Int32
public let datacenterId: Int32
public let timestamp: Int32
public let fileHash: Data
public let encryptedSecret: Data
public init(id: Int64, accessHash: Int64, size: Int32, datacenterId: Int32, timestamp: Int32, fileHash: Data, encryptedSecret: Data) {
self.id = id
self.accessHash = accessHash
self.size = size
self.datacenterId = datacenterId
self.timestamp = timestamp
self.fileHash = fileHash
self.encryptedSecret = encryptedSecret
}
}