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

Method GetDestination

FastCopy/CommandLine.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36winrt::hstring Command::GetDestination()
37{
38 auto& args = GetCommandArgs();
39 constexpr static std::wstring_view protocol = L"fastcopy://";
40
41 return args.size() == 1 ? winrt::hstring{
42#ifdef _DEBUG
43 LR"(E:\test\Intel Unison)"
44#endif
45 } : winrt::hstring{ args[1].substr(protocol.size(), args[1].find(L"|") - protocol.size()) };
46
47}
48
49static auto GetLocalDataFolder()
50{

Callers 1

normalLaunchMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected