(
messageId: UUID,
snapshot: FileHistorySnapshot,
isSnapshotUpdate: boolean,
)
| 1083 | } |
| 1084 | |
| 1085 | async insertFileHistorySnapshot( |
| 1086 | messageId: UUID, |
| 1087 | snapshot: FileHistorySnapshot, |
| 1088 | isSnapshotUpdate: boolean, |
| 1089 | ) { |
| 1090 | return this.trackWrite(async () => { |
| 1091 | const fileHistoryMessage: FileHistorySnapshotMessage = { |
| 1092 | type: 'file-history-snapshot', |
| 1093 | messageId, |
| 1094 | snapshot, |
| 1095 | isSnapshotUpdate, |
| 1096 | } |
| 1097 | await this.appendEntry(fileHistoryMessage) |
| 1098 | }) |
| 1099 | } |
| 1100 | |
| 1101 | async insertQueueOperation(queueOp: QueueOperationMessage) { |
| 1102 | return this.trackWrite(async () => { |
no test coverage detected