CPVersion

class CPVersion(id: Long, time: String?, author: String?, treeHash: KVEntryReference<CPTree>?, previousVersion: KVEntryReference<CPVersion>?, originalVersion: KVEntryReference<CPVersion>?, baseVersion: KVEntryReference<CPVersion>?, mergedVersion1: KVEntryReference<CPVersion>?, mergedVersion2: KVEntryReference<CPVersion>?, operations: Array<IOperation>?, operationsHash: KVEntryReference<CPOperationsList>?, numberOfOperations: Int) : IKVValue

Constructors

Link copied to clipboard
constructor(id: Long, time: String?, author: String?, treeHash: KVEntryReference<CPTree>?, previousVersion: KVEntryReference<CPVersion>?, originalVersion: KVEntryReference<CPVersion>?, baseVersion: KVEntryReference<CPVersion>?, mergedVersion1: KVEntryReference<CPVersion>?, mergedVersion2: KVEntryReference<CPVersion>?, operations: Array<IOperation>?, operationsHash: KVEntryReference<CPOperationsList>?, numberOfOperations: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val hash: String
Link copied to clipboard
val id: Long
Link copied to clipboard
open override var isWritten: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The version created by the original author before is was rewritten during a merge

Link copied to clipboard
Link copied to clipboard
val time: String?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun getDeserializer(): (String) -> IKVValue
Link copied to clipboard
Link copied to clipboard
open override fun serialize(): String