Other Structures
The following structures are available globally.
-
A directory or file in the Ditto working directory. Directories can be traversed by accessing the
See morechildItems
property. Files won’t have any children.Declaration
Swift
public struct DiskUsageItem
extension DiskUsageItem: Equatable
extension DiskUsageItem: Hashable
extension DiskUsageItem: CustomStringConvertible
-
Represents a connection between two peers on the Ditto mesh network.
See moreDeclaration
Swift
public struct DittoConnection
extension DittoConnection: Identifiable
extension DittoConnection: Equatable
extension DittoConnection: Hashable
extension DittoConnection: Codable
-
Undocumented
See moreDeclaration
Swift
public struct DittoPeer
extension DittoPeer: Equatable
extension DittoPeer: Hashable
extension DittoPeer: Codable
-
Represents the Ditto mesh network of peers and their connections between each other. The
See morelocalPeer
is the entry point, all others are remote peers known by the local peer (either directly or via other remote peers).Declaration
Swift
public struct DittoPresenceGraph
extension DittoPresenceGraph: Equatable
extension DittoPresenceGraph: Hashable
extension DittoPresenceGraph: Codable