MCPcopy Create free account
hub / github.com/comaps/comaps / DeleteFileX

Function DeleteFileX

libs/coding/internal/file_data.cpp:205–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203} // namespace
204
205bool DeleteFileX(string const & fName)
206{
207 int res = remove(fName.c_str());
208 return CheckFileOperationResult(res, fName);
209}
210
211bool RenameFileX(string const & fOld, string const & fNew)
212{

Callers 15

UnzipAndMatchFunction · 0.85
UNIT_TESTFunction · 0.85
~TmpFileMethod · 0.85
UNIT_TESTFunction · 0.85
FinishMethod · 0.85
SortAndFinishMethod · 0.85
CreateZipFromFilesFunction · 0.85
DeleteSectionMethod · 0.85
~UnzipFileDelegateMethod · 0.85
DeleteFileXMethod · 0.85
UNIT_TESTFunction · 0.85

Calls 1

CheckFileOperationResultFunction · 0.85

Tested by 15

UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
FinishMethod · 0.68
UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
WriteToFileAndTestFunction · 0.68
UNIT_TESTFunction · 0.68
CreateAndTestZipFunction · 0.68