Move the file or directory at oldPath to newPath.
Declared in <bdls_filesystemutil.h>
Move the file or directory at oldPath to newPath.
static
int
move(
char const* oldPath,
char const* newPath);
» more...
Move the file or directory at oldPath to newPath.
template<
class OLD_STRING_TYPE,
class NEW_STRING_TYPE>
static
int
move(
OLD_STRING_TYPE const& oldPath,
NEW_STRING_TYPE const& newPath);
» more...
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 |