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

Method UseSource

FastCopy/RobocopyViewModel.cpp:196–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 });
195 }
196 winrt::Windows::Foundation::IReference<bool> RobocopyViewModel::UseSource()
197 {
198 if (m_useSourceCount == 0)
199 return false;
200 else if (m_useSourceCount < m_duplicateFiles.Size())
201 return nullptr;
202 else
203 return true;
204 }
205 void RobocopyViewModel::UseSource(winrt::Windows::Foundation::IReference<bool> value)
206 {
207 if (!value) return;

Callers

nothing calls this directly

Calls 3

SizeMethod · 0.80
File1Method · 0.80
SelectedMethod · 0.45

Tested by

no test coverage detected