Remove the file or directory at the specified path.
Declared in <bdls_filesystemutil.h>
Remove the file or directory at the specified path.
static
int
remove(
char const* path,
bool recursiveFlag = false);
» more...
Remove the file or directory at the specified path.
template<class STRING_TYPE>
static
int
remove(
STRING_TYPE const& path,
bool recursiveFlag = false);
» more...
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 |