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