Move the file or directory at oldPath to newPath.
Synopsis
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);
Description
Same as the overload taking const char *.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
oldPath |
filesystem path of the file or directory to move |
newPath |
destination filesystem path |
Created with MrDocs