Move the file or directory at oldPath to newPath.
Declared in <bdls_filesystemutil.h>
template<
class OLD_STRING_TYPE,
class NEW_STRING_TYPE>
static
int
move(
OLD_STRING_TYPE const& oldPath,
NEW_STRING_TYPE const& newPath);
Same as the overload taking const char *.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| oldPath | filesystem path of the file or directory to move |
| newPath | destination filesystem path |