| 646 | } |
| 647 | |
| 648 | void BackupImpl::createLockFile() |
| 649 | { |
| 650 | /// Internal backup must not create the lock file (it should be created by the initiator). |
| 651 | chassert(!params.is_internal_backup); |
| 652 | |
| 653 | chassert(uuid); |
| 654 | auto out = writer->writeFile(lock_file_name); |
| 655 | writeUUIDText(*uuid, *out); |
| 656 | out->finalize(); |
| 657 | } |
| 658 | |
| 659 | bool BackupImpl::checkLockFile(bool throw_if_failed) const |
| 660 | { |
nothing calls this directly
no test coverage detected