MCPcopy Create free account
hub / github.com/approvals/ApprovalTests.cpp / copyFile

Method copyFile

ApprovalTests/utilities/FileUtilsSystemSpecific.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17
18 void FileUtilsSystemSpecific::copyFile(const std::string& source,
19 const std::string& destination)
20 {
21 auto cmd = getCommandLineForCopy(source, destination, SystemUtils::isWindowsOs());
22 SystemUtils::runSystemCommandOrThrow(cmd);
23 }
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected