({selector, keyringId, options = {}})
| 197 | } |
| 198 | |
| 199 | function restoreBackupContainer({selector, keyringId, options = {}}) { |
| 200 | const container = new RestoreBackupContainer(selector, keyringId, options); |
| 201 | containers.set(container.id, container); |
| 202 | return container.create(); |
| 203 | } |
| 204 | |
| 205 | function restoreBackupIsReady({restoreId}) { |
| 206 | return containers.get(restoreId).restoreBackupReady(); |