| 90 | return L"---"; |
| 91 | } |
| 92 | winrt::hstring RobocopyViewModel::Destination() |
| 93 | { |
| 94 | std::filesystem::path path{ std::wstring_view{m_destination }}; |
| 95 | if (auto pathName = path.filename().wstring(); !pathName.empty()) |
| 96 | return pathName.data(); |
| 97 | else |
| 98 | return path.parent_path().wstring().data(); |
| 99 | } |
| 100 | |
| 101 | void RobocopyViewModel::Destination(winrt::hstring value) |
| 102 | { |