ΒΆstd::error_code remove_directories(
const llvm::Twine& path,
bool IgnoreErrors = true)
std::error_code remove_directories(
const llvm::Twine& path,
bool IgnoreErrors = true)
Description
Recursively delete a directory.
Declared at: llvm/include/llvm/Support/FileSystem.h:402
Parameters
- const llvm::Twine& path
- Input path.
- bool IgnoreErrors = true
Returns
errc::success if path has been removed or didn't exist, otherwise a platform-specific error code.