MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / onAllFinished

Method onAllFinished

FastCopy/RobocopyViewModel.cpp:349–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

GetStringResourceFunction · 0.85
dataMethod · 0.80
GetPathMethod · 0.80

Tested by

no test coverage detected