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

Method canUseShellCopy

FastCopy/RobocopyViewModel.cpp:329–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 ) || sourcePath.parent_path() == std::filesystem::path{ m_destination.data() };
328 }
329 bool RobocopyViewModel::canUseShellCopy() const
330 {
331 return m_recordFile->GetOperation() == CopyOperation::Move &&
332 ShellCopy::IsInSameDiskPartition(**m_iter, m_destination);
333 }
334 void RobocopyViewModel::onNormalRobocopyFinished()
335 {
336 if (m_hasDuplicates)

Callers

nothing calls this directly

Calls 2

IsInSameDiskPartitionFunction · 0.85
GetOperationMethod · 0.80

Tested by

no test coverage detected