MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / rename

Method rename

Engine/source/platformPOSIX/posixVolume.cpp:223–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223bool PosixFileSystem::rename(const Path& from,const Path& to)
224{
225 String fa = buildFileName(_volume,from);
226 String fb = buildFileName(_volume,to);
227
228 if (!::rename(fa.c_str(),fb.c_str()))
229 return true;
230
231 return false;
232}
233
234Path PosixFileSystem::mapTo(const Path& path)
235{

Callers

nothing calls this directly

Calls 2

buildFileNameFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected