MCPcopy Create free account
hub / github.com/beefytech/Beef / CopyFile

Method CopyFile

BeefFuzz/FuzzApp.cpp:187–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187bool FuzzApp::CopyFile(const StringImpl& srcPath, const StringImpl& destPath)
188{
189 BfpFileResult result = BfpFileResult_Ok;
190 for (int i = 0; i < 20; i++)
191 {
192 BfpFile_Copy(srcPath.c_str(), destPath.c_str(), BfpFileCopyKind_Always, &result);
193 if (result == BfpFileResult_Ok)
194 return true;
195 BfpThread_Sleep(100);
196 }
197 return false;
198}
199
200void FuzzApp::PrepareCompiler()
201{

Callers

nothing calls this directly

Calls 3

BfpFile_CopyFunction · 0.50
BfpThread_SleepFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected