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

Function RenameFileX

libs/coding/internal/file_data.cpp:211–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211bool RenameFileX(string const & fOld, string const & fNew)
212{
213 int res = rename(fOld.c_str(), fNew.c_str());
214 return CheckFileOperationResult(res, fOld);
215}
216
217bool MoveFileX(string const & fOld, string const & fNew)
218{

Callers 12

SaveControursFunction · 0.85
~FeatureBuilderWriterMethod · 0.85
DeleteSectionMethod · 0.85
UNIT_TESTFunction · 0.85
SaveMethod · 0.85
ApplyDiffFunction · 0.85
OnFinishMethod · 0.85
UNIT_TESTFunction · 0.85

Calls 1

CheckFileOperationResultFunction · 0.85

Tested by 2

UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68