| 221 | } |
| 222 | |
| 223 | bool 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 | |
| 234 | Path PosixFileSystem::mapTo(const Path& path) |
| 235 | { |
nothing calls this directly
no test coverage detected