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

Method rename

Engine/source/core/volume.cpp:493–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493bool FileSystemRedirect::rename(const Path& a,const Path& b)
494{
495 Path na = _merge(a);
496 Path nb = _merge(b);
497 FileSystemRef fsa = mMFS->getFileSystem(na);
498 FileSystemRef fsb = mMFS->getFileSystem(nb);
499 if (fsa.getPointer() == fsb.getPointer())
500 return fsa->rename(na,nb);
501 return false;
502}
503
504Path FileSystemRedirect::mapTo(const Path& path)
505{

Callers 1

RenameFunction · 0.45

Calls 4

getFileSystemMethod · 0.80
getPointerMethod · 0.45
c_strMethod · 0.45
isReadOnlyMethod · 0.45

Tested by

no test coverage detected