| 347 | onAllFinished(); |
| 348 | } |
| 349 | void RobocopyViewModel::onAllFinished() |
| 350 | { |
| 351 | auto formatString = GetStringResource(L"CopyFinishNotificationFormatString"); |
| 352 | Notification::SendSuccess( |
| 353 | std::vformat(std::wstring_view{formatString}, std::make_wformat_args(OperationString().data(), m_finishedFiles)).data(), |
| 354 | m_destination |
| 355 | ); |
| 356 | std::filesystem::remove(m_recordFile->GetPath().data()); |
| 357 | m_finishEvent(*this, FinishState::Success); |
| 358 | } |
| 359 | |
| 360 | winrt::hstring RobocopyViewModel::finishedOperationString() |
| 361 | { |
nothing calls this directly
no test coverage detected