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

Method Destination

FastCopy/RobocopyViewModel.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 3

normalLaunchMethod · 0.80
TEST_METHODFunction · 0.80
TEST_CLASSFunction · 0.80

Calls 1

dataMethod · 0.80

Tested by 2

TEST_METHODFunction · 0.64
TEST_CLASSFunction · 0.64