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

Method setRobocopyViewModelDuplicateSelection

FastCopy/FileCompareViewModel.cpp:17–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 void FileCompareViewModel::setRobocopyViewModelDuplicateSelection(bool isFile1, bool isSelected)
18 {
19 auto robocopyViewModel = ViewModelLocator::GetInstance().RobocopyViewModel();
20 if (isFile1)
21 {
22 isSelected ? robocopyViewModel.AddSource() : robocopyViewModel.RemoveSource();
23 }
24 else
25 {
26 isSelected ? robocopyViewModel.AddDestination() : robocopyViewModel.RemoveDestination();
27 }
28 }
29}

Callers

nothing calls this directly

Calls 5

AddSourceMethod · 0.80
RemoveSourceMethod · 0.80
AddDestinationMethod · 0.80
RemoveDestinationMethod · 0.80
RobocopyViewModelMethod · 0.45

Tested by

no test coverage detected