Remove the file or directory at the specified path.
Declared in <bdls_filesystemutil.h>
template<class STRING_TYPE>
static
int
remove(
STRING_TYPE const& path,
bool recursiveFlag = false);
Same as remove(const char *, bool), but accepts a STRING_TYPE path.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| path | filesystem path of the file or directory to remove |
| recursiveFlag | whether to recursively remove directory contents |