ΒΆstd::error_code remove(
const llvm::Twine& path,
bool IgnoreNonExisting = true)
std::error_code remove(
const llvm::Twine& path,
bool IgnoreNonExisting = true)
Description
Remove path. Equivalent to POSIX remove().
Declared at: llvm/include/llvm/Support/FileSystem.h:395
Parameters
- const llvm::Twine& path
- Input path.
- bool IgnoreNonExisting = true
Returns
errc::success if path has been removed or didn't exist, otherwise a platform-specific error code. If IgnoreNonExisting is false, also returns error if the file didn't exist.