(
messageId: UUID,
snapshot: FileHistorySnapshot,
isSnapshotUpdate: boolean,
)
| 1129 | } |
| 1130 | |
| 1131 | async insertFileHistorySnapshot( |
| 1132 | messageId: UUID, |
| 1133 | snapshot: FileHistorySnapshot, |
| 1134 | isSnapshotUpdate: boolean, |
| 1135 | ) { |
| 1136 | return this.trackWrite(async () => { |
| 1137 | const fileHistoryMessage: FileHistorySnapshotMessage = { |
| 1138 | type: 'file-history-snapshot', |
| 1139 | messageId, |
| 1140 | snapshot, |
| 1141 | isSnapshotUpdate, |
| 1142 | } |
| 1143 | await this.appendEntry(fileHistoryMessage) |
| 1144 | }) |
| 1145 | } |
| 1146 | |
| 1147 | async insertQueueOperation(queueOp: QueueOperationMessage) { |
| 1148 | return this.trackWrite(async () => { |
no test coverage detected