SubscribeReposCommit

constructor(    seq: Long,     rebase: Boolean,     tooBig: Boolean,     repo: Did,     commit: ByteArray,     rev: Tid,     since: Tid? = null,     blocks: ByteArray,     ops: List<SubscribeReposRepoOp>,     blobs: List<ByteArray>,     prevData: ByteArray? = null,     time: Timestamp)

Parameters

seq

The stream sequence number of this message.

repo

The repo this event comes from. Note that all other message types name this field 'did'.

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. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list.

prevData

The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose.

time

Timestamp of when this message was originally broadcast.