(
messageId: UUID,
snapshot: FileHistorySnapshot,
isSnapshotUpdate: boolean,
)
| 1165 | } |
| 1166 | |
| 1167 | async insertFileHistorySnapshot( |
| 1168 | messageId: UUID, |
| 1169 | snapshot: FileHistorySnapshot, |
| 1170 | isSnapshotUpdate: boolean, |
| 1171 | ) { |
| 1172 | return this.trackWrite(async () => { |
| 1173 | const fileHistoryMessage: FileHistorySnapshotMessage = { |
| 1174 | type: 'file-history-snapshot', |
| 1175 | messageId, |
| 1176 | snapshot, |
| 1177 | isSnapshotUpdate, |
| 1178 | } |
| 1179 | await this.appendEntry(fileHistoryMessage) |
| 1180 | }) |
| 1181 | } |
| 1182 | |
| 1183 | async insertQueueOperation(queueOp: QueueOperationMessage) { |
| 1184 | return this.trackWrite(async () => { |
no test coverage detected