SubscribeReposSync

data class SubscribeReposSync(val seq: Long, val did: Did, val blocks: ByteArray, val rev: String, val time: Timestamp)

Updates the repo to a new state, without necessarily including that state on the firehose. Used to recover from broken commit streams, data loss incidents, or in situations where upstream host does not know recent state of the repository.

Parameters

seq

The stream sequence number of this message.

did

The account this repo event corresponds to. Must match that in the commit object.

blocks

CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.

rev

The rev of the commit. This value must match that in the commit object.

time

Timestamp of when this message was originally broadcast.

Constructors

Link copied to clipboard
constructor(seq: Long, did: Did, blocks: ByteArray, rev: String, time: Timestamp)

Properties

Link copied to clipboard

CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.

Link copied to clipboard
val did: Did

The account this repo event corresponds to. Must match that in the commit object.

Link copied to clipboard
val rev: String

The rev of the commit. This value must match that in the commit object.

Link copied to clipboard
val seq: Long

The stream sequence number of this message.

Link copied to clipboard

Timestamp of when this message was originally broadcast.