Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
typealias ObjectHash = String
Link copied to clipboard
Link copied to clipboard
@Serializable
class VersionDelta(val versionHash: String, val baseVersionHash: String? = null, val objects: Set<String> = emptySet(), val objectsMap: Map<String, String> = emptyMap())
Link copied to clipboard
class VersionDeltaStream(val versionHash: String, val objectsFlow: Flow<Pair<String, String>>? = null, val objectsSequence: Sequence<Pair<String, String>>? = null)
Link copied to clipboard
class VersionDeltaStreamV2(val versionHash: String, val hashesWithDeltaObject: Flow<Pair<String, String>>)

In comparison to the previous format for version deltas, this format is structured so that incompletely sent data can be detected.

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun <K, V> Flow<Pair<K, V>>.toMap(): Map<K, V>