SubscribeReposCommit

data class SubscribeReposCommit(val seq: Long, val rebase: Boolean, val tooBig: Boolean, val repo: Did, val commit: ByteArray, val prev: ByteArray? = null, val rev: String, val since: String? = null, val blocks: ByteArray, val ops: List<SubscribeReposRepoOp>, val blobs: List<ByteArray>, val time: Timestamp)

Represents an update of repository state. Note that empty commits are allowed, which include no repo data changes, but an update to rev and signature.

Parameters

seq

The stream sequence number of this message.

tooBig

Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data.

repo

The repo this event comes from.

commit

Repo commit object CID.

rev

The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event.

since

The rev of the last emitted commit from this repo (if any).

blocks

CAR file containing relevant blocks, as a diff since the previous repo state.

time

Timestamp of when this message was originally broadcast.

Constructors

Link copied to clipboard
constructor(seq: Long, rebase: Boolean, tooBig: Boolean, repo: Did, commit: ByteArray, prev: ByteArray? = null, rev: String, since: String? = null, blocks: ByteArray, ops: List<SubscribeReposRepoOp>, blobs: List<ByteArray>, time: Timestamp)

Properties

Link copied to clipboard
Link copied to clipboard

CAR file containing relevant blocks, as a diff since the previous repo state.

Link copied to clipboard

Repo commit object CID.

Link copied to clipboard
Link copied to clipboard
val prev: ByteArray? = null
Link copied to clipboard
Link copied to clipboard
val repo: Did

The repo this event comes from.

Link copied to clipboard
val rev: String

The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event.

Link copied to clipboard
val seq: Long

The stream sequence number of this message.

Link copied to clipboard
val since: String? = null

The rev of the last emitted commit from this repo (if any).

Link copied to clipboard

Timestamp of when this message was originally broadcast.

Link copied to clipboard

Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data.