| 491 | } |
| 492 | |
| 493 | bool 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 | |
| 504 | Path FileSystemRedirect::mapTo(const Path& path) |
| 505 | { |
no test coverage detected