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

Method rename

Engine/source/platformWin32/winVolume.cpp:310–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310bool Win32FileSystem::rename(const Path& from,const Path& to)
311{
312 String fa = PathToOS(_BuildFileName(mVolume,from));
313 String fb = PathToOS(_BuildFileName(mVolume,to));
314
315 return MoveFile(fa.utf16(),fb.utf16());
316}
317
318Path Win32FileSystem::mapTo(const Path& path)
319{

Callers

nothing calls this directly

Calls 3

PathToOSFunction · 0.85
_BuildFileNameFunction · 0.85
utf16Method · 0.45

Tested by

no test coverage detected